toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (distanceMeters != null) 'distanceMeters': distanceMeters!,
  if (place != null) 'place': place!,
  if (placeId != null) 'placeId': placeId!,
  if (structuredFormat != null) 'structuredFormat': structuredFormat!,
  if (text != null) 'text': text!,
  if (types != null) 'types': types!,
};