$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'flags':
final _flags = $value.flags;
return $int(_flags);
case 'debugMultiFingerGestureWinner':
final _debugMultiFingerGestureWinner =
$value.debugMultiFingerGestureWinner;
return $bool(_debugMultiFingerGestureWinner);
case 'enableMultiFingerGestureRace':
final _enableMultiFingerGestureRace =
$value.enableMultiFingerGestureRace;
return $bool(_enableMultiFingerGestureRace);
case 'rotationThreshold':
final _rotationThreshold = $value.rotationThreshold;
return $double(_rotationThreshold);
case 'rotationWinGestures':
final _rotationWinGestures = $value.rotationWinGestures;
return $int(_rotationWinGestures);
case 'pinchZoomThreshold':
final _pinchZoomThreshold = $value.pinchZoomThreshold;
return $double(_pinchZoomThreshold);
case 'pinchZoomWinGestures':
final _pinchZoomWinGestures = $value.pinchZoomWinGestures;
return $int(_pinchZoomWinGestures);
case 'pinchMoveThreshold':
final _pinchMoveThreshold = $value.pinchMoveThreshold;
return $double(_pinchMoveThreshold);
case 'pinchMoveWinGestures':
final _pinchMoveWinGestures = $value.pinchMoveWinGestures;
return $int(_pinchMoveWinGestures);
case 'scrollWheelVelocity':
final _scrollWheelVelocity = $value.scrollWheelVelocity;
return $double(_scrollWheelVelocity);
case 'doubleTapDragZoomChangeCalculator':
final _doubleTapDragZoomChangeCalculator =
$value.doubleTapDragZoomChangeCalculator;
return $Function((runtime, target, args) {
final funcResult = _doubleTapDragZoomChangeCalculator(
args[0]!.$value,
args[1]!.$value,
);
return $double(funcResult);
});
case 'doubleTapZoomDuration':
final _doubleTapZoomDuration = $value.doubleTapZoomDuration;
return $Duration.wrap(_doubleTapZoomDuration);
case 'doubleTapZoomCurve':
final _doubleTapZoomCurve = $value.doubleTapZoomCurve;
return $Curve.wrap(_doubleTapZoomCurve);
case 'cursorKeyboardRotationOptions':
final _cursorKeyboardRotationOptions =
$value.cursorKeyboardRotationOptions;
return $CursorKeyboardRotationOptions.wrap(
_cursorKeyboardRotationOptions,
);
case 'keyboardOptions':
final _keyboardOptions = $value.keyboardOptions;
return $KeyboardOptions.wrap(_keyboardOptions);
}
return _superclass.$getProperty(runtime, identifier);
}