$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case '[]':
return $Function((runtime, target, args) {
final res = target!.$value[args[0]!.$value];
if (res == null) {
return const $null();
}
return $Color.wrap(res as Color);
});
}
return _superclass.$getProperty(runtime, identifier);
}