toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (country != null) 'country': country!,
      if (excludedDestinations != null)
        'excludedDestinations': excludedDestinations!,
      if (feedLabel != null) 'feedLabel': feedLabel!,
      if (includedDestinations != null)
        'includedDestinations': includedDestinations!,
      if (language != null) 'language': language!,
      if (targetCountries != null) 'targetCountries': targetCountries!,
    };