toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (excludedPrimaryTypes != null)
'excludedPrimaryTypes': excludedPrimaryTypes!,
if (excludedTypes != null) 'excludedTypes': excludedTypes!,
if (includedPrimaryTypes != null)
'includedPrimaryTypes': includedPrimaryTypes!,
if (includedTypes != null) 'includedTypes': includedTypes!,
if (languageCode != null) 'languageCode': languageCode!,
if (locationRestriction != null)
'locationRestriction': locationRestriction!,
if (maxResultCount != null) 'maxResultCount': maxResultCount!,
if (rankPreference != null) 'rankPreference': rankPreference!,
if (regionCode != null) 'regionCode': regionCode!,
};