toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (appliedControls != null) 'appliedControls': appliedControls!,
      if (attributionToken != null) 'attributionToken': attributionToken!,
      if (correctedQuery != null) 'correctedQuery': correctedQuery!,
      if (experimentInfo != null) 'experimentInfo': experimentInfo!,
      if (facets != null) 'facets': facets!,
      if (invalidConditionBoostSpecs != null)
        'invalidConditionBoostSpecs': invalidConditionBoostSpecs!,
      if (nextPageToken != null) 'nextPageToken': nextPageToken!,
      if (queryExpansionInfo != null)
        'queryExpansionInfo': queryExpansionInfo!,
      if (redirectUri != null) 'redirectUri': redirectUri!,
      if (results != null) 'results': results!,
      if (totalSize != null) 'totalSize': totalSize!,
    };