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['typeCode'] = _typeCode;
  map['poiId'] = _poiId;
  if (_latLonPoint != null) {
    map['latLonPoint'] = _latLonPoint?.toJson();
  }
  return map;
}