toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = <String, dynamic>{};
  data['center'] = center;
  data['adcode'] = adcode;
  data['polylines'] = polylines;
  data['citycode'] = citycode;
  data['level'] = level;
  data['districts'] = districts;
  data['name'] = name;
  return data;
}