$getProperty method
Get a property by identifier on this instance
Implementation
@override
$Value? $getProperty(Runtime runtime, String identifier) {
switch (identifier) {
case 'lowerBound':
return $double($value.lowerBound);
case 'upperBound':
return $double($value.upperBound);
case 'debugLabel':
return $value.debugLabel == null
? const $null()
: $String($value.debugLabel!);
case 'view':
return $Animation.wrap($value.view);
case 'duration':
return $value.duration == null
? const $null()
: $Duration.wrap($value.duration!);
case 'reverseDuration':
return $value.reverseDuration == null
? const $null()
: $Duration.wrap($value.reverseDuration!);
case 'value':
return $double($value.value);
case 'velocity':
return $double($value.velocity);
case 'lastElapsedDuration':
return $value.lastElapsedDuration == null
? const $null()
: $Duration.wrap($value.lastElapsedDuration!);
case 'isAnimating':
return $bool($value.isAnimating);
case 'status':
return $AnimationStatus.wrap($value.status);
case 'resync':
return __resync;
case 'reset':
return __reset;
case 'forward':
return __forward;
case 'reverse':
return __reverse;
case 'toggle':
return __toggle;
case 'animateTo':
return __animateTo;
case 'animateBack':
return __animateBack;
case 'repeat':
return __repeat;
case 'fling':
return __fling;
case 'animateWith':
return __animateWith;
case 'animateBackWith':
return __animateBackWith;
case 'stop':
return __stop;
case 'dispose':
return __dispose;
case 'toStringDetails':
return __toStringDetails;
}
throw UnimplementedError(
'property $identifier not generated for AnimationController');
}