updateTiming method
dynamic
updateTiming(
- Map<String, dynamic> optionalEffectTiming
)
Implementation
updateTiming(Map<String, dynamic> optionalEffectTiming) {
optionalEffectTiming.forEach((key, value) {
switch (key) {
case 'duration':
timing!.duration = value;
break;
case 'delay':
timing!.delay = value;
break;
case 'easing':
timing!.easing = value;
break;
case 'direction':
timing!.direction = value;
break;
case 'endDelay':
timing!.endDelay = value;
break;
case 'fill':
timing!.fill = value;
break;
case 'iterationStart':
timing!.iterationStart = value;
break;
case 'iterations':
timing!.iterations = value;
break;
}
});
}