Map<String, dynamic> toJson() => { "type": geometryTypeValues.reverse[type], "coordinates": List<dynamic>.from(coordinates?.map((x) => x) ?? []), };