Districts.fromJson constructor

Districts.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Districts.fromJson(Map<String, dynamic> json) {
  center = json['center'];
  adcode = json['adcode'];
  polylines = json['polylines'];
  citycode = json['citycode'];
  level = json['level'];
  districts = json['districts'];
  name = json['name'];
}