toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cities != null) 'cities': cities!,
      if (countries != null) 'countries': countries!,
      if (excludeCountries != null) 'excludeCountries': excludeCountries!,
      if (metros != null) 'metros': metros!,
      if (postalCodes != null) 'postalCodes': postalCodes!,
      if (regions != null) 'regions': regions!,
    };