decode static method Null safety
- Object message
Implementation
static MapAnimationOptions decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return MapAnimationOptions(
duration: pigeonMap['duration'] as int?,
startDelay: pigeonMap['startDelay'] as int?,
);
}