toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['title'] = title;
  map['snippet'] = snippet;
  map['subTypeDes'] = subTypeDes;
  map['distance'] = distance;
  map['poiId'] = poiId;
  map['subName'] = subName;
  map['subLatLonPoint'] = subLatLonPoint.toJson();
    return map;
}