toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final data = <String, dynamic>{};
  if (this.geocodeAddressList != null) {
    data['geocodeAddressList'] = this.geocodeAddressList?.map((v) => v.toJson()).toList();
  }
  if (this.geocodeQuery != null) {
    data['geocodeQuery'] = this.geocodeQuery?.toJson();
  }
  return data;
}