toJson method
Implementation
Map<String, dynamic> toJson() => {
"description": description,
"matched_substrings": matchedSubstrings.map((x) => x.toJson()).toList(),
"place_id": placeId,
"reference": reference,
"structured_formatting": structuredFormatting?.toJson(),
"terms": terms.map((x) => x.toJson()).toList(),
"types": types.map((x) => x).toList(),
};