toJson method
Converts a MultiPolygon to its GeoJSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': 'MultiPolygon',
'coordinates':
_toListListListList(coordinates.map((e) => e.coordinates).toList())
};
}