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