$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'enableArrowKeysPanning':
final _enableArrowKeysPanning = $value.enableArrowKeysPanning;
return $bool(_enableArrowKeysPanning);
case 'enableWASDPanning':
final _enableWASDPanning = $value.enableWASDPanning;
return $bool(_enableWASDPanning);
case 'enableQERotating':
final _enableQERotating = $value.enableQERotating;
return $bool(_enableQERotating);
case 'enableRFZooming':
final _enableRFZooming = $value.enableRFZooming;
return $bool(_enableRFZooming);
case 'maxPanVelocity':
final _maxPanVelocity = $value.maxPanVelocity;
return _maxPanVelocity == null
? const $null()
: $Function((runtime, target, args) {
final funcResult = _maxPanVelocity(args[0]!.$value);
return $double(funcResult);
});
case 'panLeapVelocityMultiplier':
final _panLeapVelocityMultiplier = $value.panLeapVelocityMultiplier;
return $double(_panLeapVelocityMultiplier);
case 'maxZoomVelocity':
final _maxZoomVelocity = $value.maxZoomVelocity;
return $double(_maxZoomVelocity);
case 'zoomLeapVelocityMultiplier':
final _zoomLeapVelocityMultiplier = $value.zoomLeapVelocityMultiplier;
return $double(_zoomLeapVelocityMultiplier);
case 'maxRotateVelocity':
final _maxRotateVelocity = $value.maxRotateVelocity;
return $double(_maxRotateVelocity);
case 'rotateLeapVelocityMultiplier':
final _rotateLeapVelocityMultiplier =
$value.rotateLeapVelocityMultiplier;
return $double(_rotateLeapVelocityMultiplier);
case 'animationCurveDuration':
final _animationCurveDuration = $value.animationCurveDuration;
return $Duration.wrap(_animationCurveDuration);
case 'animationCurveReverseDuration':
final _animationCurveReverseDuration =
$value.animationCurveReverseDuration;
return _animationCurveReverseDuration == null
? const $null()
: $Duration.wrap(_animationCurveReverseDuration);
case 'animationCurveCurve':
final _animationCurveCurve = $value.animationCurveCurve;
return $Curve.wrap(_animationCurveCurve);
case 'performLeapTriggerDuration':
final _performLeapTriggerDuration = $value.performLeapTriggerDuration;
return _performLeapTriggerDuration == null
? const $null()
: $Duration.wrap(_performLeapTriggerDuration);
case 'leapMaxOfCurveComponent':
final _leapMaxOfCurveComponent = $value.leapMaxOfCurveComponent;
return $double(_leapMaxOfCurveComponent);
case 'focusNode':
final _focusNode = $value.focusNode;
return _focusNode == null ? const $null() : $FocusNode.wrap(_focusNode);
case 'autofocus':
final _autofocus = $value.autofocus;
return $bool(_autofocus);
}
return _superclass.$getProperty(runtime, identifier);
}