decode static method Null safety
- Object message
Implementation
static ImageStretches decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return ImageStretches(
first: pigeonMap['first']! as double,
second: pigeonMap['second']! as double,
);
}