SubPois.fromJson constructor

SubPois.fromJson(
  1. dynamic json
)

Implementation

SubPois.fromJson(dynamic json) {
  title = json['title'];
  snippet = json['snippet'];
  subTypeDes = json['subTypeDes'];
  distance = json['distance'];
  poiId = json['poiId'];
  subName = json['subName'];
  subLatLonPoint = json['subLatLonPoint'] == null ? SubLatLonPoint(latitude: 0, longitude: 0) : SubLatLonPoint.fromJson(json['subLatLonPoint']);
}