toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = <String, dynamic>{};
  data['latLonType'] = this.latLonType;
  data['poiType'] = this.poiType;
  if (this.point != null) {
    data['point'] = this.point?.toJson();
  }
  data['radius'] = this.radius;
  return data;
}