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