toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "bbox": bbox == null ? [] : List<dynamic>.from(bbox!.map((x) => x)),
      "type": type,
      "properties": properties?.toMap(),
      "geometry": geometry?.toMap(),
    };