InputTipResult.fromJson constructor

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

Implementation

InputTipResult.fromJson(Map<String, dynamic> json) {
  district = json['district'];
  address = json['address'];
  typecode = json['typecode'];
  uid = json['uid'];
  location = json['location'] != null
      ?  LatLng.fromJson(json['location'])
      : null;
  adcode = json['adcode'];
  name = json['name'];
}