toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "id": id,
      "mapbox_id": mapboxId,
      "text": text,
      "wikidata": wikidata,
      "short_code": shortCode,
    };