serialize method Null safety

Map<String, dynamic> serialize(
  1. Map<String, dynamic> map
)

Implementation

Map<String, dynamic> serialize(Map<String, dynamic> map) => {
      'type': _$GeoJSONObjectTypeEnumMap[type],
      ...map,
    };