toJson method

Map toJson()

Implementation

Map toJson() => {
      "name": name,
      "state_code": province_code,
      "latLng": latLng.toJson(),
      "type": type,
      "cities": cities?.map((e) => e.toJson()).toList(),
    };