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