Location.fromJson constructor

Location.fromJson(
  1. Map json
)

Implementation

factory Location.fromJson(Map json) {
  return Location(
    type: json['location.type'],
    country: json['location.country'],
    province: json['location.province'],
    provinceAddr: json['location.provinceAddr'],
    city: json['location.city'],
    cityAddr: json['location.cityAddr'],
    area: json['location.area'],
    areaAddr: json['location.areaAddr'],
    street: json['location.street'],
    streets: json['location.streets'],
    region: json['location.region'],
    poi: json['location.poi'],
  );
}