decode static method Null safety

CoordinateBoundsZoom decode(
  1. Object message
)

Implementation

static CoordinateBoundsZoom decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return CoordinateBoundsZoom(
    bounds: CoordinateBounds.decode(pigeonMap['bounds']!),
    zoom: pigeonMap['zoom']! as double,
  );
}