toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
    "bbox": List<dynamic>.from(bbox.map((x) => x)),
    "type": type,
    "properties": properties.toJson(),
    "geometry": geometry.toJson(),
};