District.fromJson constructor
Implementation
factory District.fromJson(Map<String, dynamic> json) {
return District(
id: json['id'],
provinceId: json['province_id'],
nameEn: json['name_en'],
nameSi: json['name_si'],
nameTa: json['name_ta'],
);
}