SubPOIs.fromJson constructor

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

Implementation

SubPOIs.fromJson(Map<String, dynamic> json) {
  address = json['address'];
  uid = json['uid'];
  distance = json['distance'];
  location = json['location'] != null
      ? EnterLocation.fromJson(json['location'])
      : null;
  sname = json['sname'];
  subtype = json['subtype'];
  name = json['name'];
}