$getProperty method
Get a property by identifier
on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'codePoint':
return $int($value.codePoint);
case 'fontFamily':
final value = $value.fontFamily;
return value == null ? const $null() : $String(value);
case 'fontPackage':
final value = $value.fontPackage;
return value == null ? const $null() : $String(value);
case 'matchTextDirection':
return $bool($value.matchTextDirection);
}
throw UnimplementedError();
}