decode static method Null safety
- Object message
Implementation
static CameraBounds decode(Object message) {
final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
return CameraBounds(
bounds: CoordinateBounds.decode(pigeonMap['bounds']!),
maxZoom: pigeonMap['maxZoom']! as double,
minZoom: pigeonMap['minZoom']! as double,
maxPitch: pigeonMap['maxPitch']! as double,
minPitch: pigeonMap['minPitch']! as double,
);
}