toJson method

Map<String, dynamic> toJson()

Implementation

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