decode static method Null safety

MapDebugOptions decode(
  1. Object message
)

Implementation

static MapDebugOptions decode(Object message) {
  final Map<Object?, Object?> pigeonMap = message as Map<Object?, Object?>;
  return MapDebugOptions(
    data: MapDebugOptionsData.values[pigeonMap['data']! as int],
  );
}