$getProperty method
Get a property by identifier
on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'physicalKey':
final _physicalKey = $value.physicalKey;
return $PhysicalKeyboardKey.wrap(_physicalKey);
case 'logicalKey':
final _logicalKey = $value.logicalKey;
return $LogicalKeyboardKey.wrap(_logicalKey);
case 'character':
final _character = $value.character;
return _character == null ? const $null() : $String(_character);
case 'timeStamp':
final _timeStamp = $value.timeStamp;
return $Duration.wrap(_timeStamp);
case 'deviceType':
final _deviceType = $value.deviceType;
return $KeyEventDeviceType.wrap(_deviceType);
case 'synthesized':
final _synthesized = $value.synthesized;
return $bool(_synthesized);
case 'debugFillProperties':
return __debugFillProperties;
}
return _superclass.$getProperty(runtime, identifier);
}