$getProperty method
Get a property by identifier
on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'length':
return $int($value.length);
case 'reversed':
return $Iterable.wrap($value.reversed);
case 'cast':
return __$cast;
case '[]':
return __$indexGet;
case '[]=':
return __$indexSet;
case 'add':
return __$add;
case 'addAll':
return __$addAll;
case 'sort':
return __$sort;
case 'shuffle':
return __$shuffle;
case 'indexOf':
return __$indexOf;
case 'indexWhere':
return __$indexWhere;
case 'lastIndexWhere':
return __$lastIndexWhere;
case 'lastIndexOf':
return __$lastIndexOf;
case 'clear':
return __$clear;
case 'insert':
return __$insert;
case 'insertAll':
return __$insertAll;
case 'setAll':
return __$setAll;
case 'remove':
return __$remove;
case 'removeAt':
return __$removeAt;
case 'removeLast':
return __$removeLast;
case 'removeWhere':
return __$removeWhere;
case 'retainWhere':
return __$retainWhere;
case '+':
return __$combine;
case 'sublist':
return __$sublist;
case 'getRange':
return __$getRange;
case 'setRange':
return __$setRange;
case 'removeRange':
return __$removeRange;
case 'fillRange':
return __$fillRange;
case 'replaceRange':
return __$replaceRange;
case 'asMap':
return __$asMap;
default:
return _superclass.$getProperty(runtime, identifier);
}
}