toJson method
Implementation
Map<String, String> toJson() {
return {
if (countryCodes != null) "countrycodes": countryCodes!.join(','),
if (excludePlaceIds != null)
"exclude_place_ids": excludePlaceIds!.join(','),
if (limit != null) "limit": limit!.toString(),
if (viewBox != null) ...(viewBox!.toJson()),
if (email != null) "email": email!,
if (dedupe != null) "dedupe": dedupe! ? "1" : "0",
};
}