$getProperty method
Get a property by identifier
on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'globalPosition':
return $Offset.wrap($value.globalPosition);
case 'localPosition':
return $Offset.wrap($value.localPosition);
case 'offsetFromOrigin':
return $Offset.wrap($value.offsetFromOrigin);
case 'localOffsetFromOrigin':
return $Offset.wrap($value.localOffsetFromOrigin);
default:
return _superclass.$getProperty(runtime, identifier);
}
}