toJson method
Implementation
Map<String, dynamic> toJson() {
final result$data = <String, dynamic>{};
if (_$data.containsKey('type')) {
final l$type = type;
result$data['type'] =
l$type == null ? null : toJson$Enum$ZoneTypesEnum(l$type);
}
final l$coordinates = coordinates;
result$data['coordinates'] = l$coordinates.map((e) => e).toList();
return result$data;
}