toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (contextAttributes != null) 'contextAttributes': contextAttributes!,
  if (dataSourceRestrictions != null)
    'dataSourceRestrictions': dataSourceRestrictions!,
  if (facetOptions != null) 'facetOptions': facetOptions!,
  if (pageSize != null) 'pageSize': pageSize!,
  if (query != null) 'query': query!,
  if (queryInterpretationOptions != null)
    'queryInterpretationOptions': queryInterpretationOptions!,
  if (requestOptions != null) 'requestOptions': requestOptions!,
  if (sortOptions != null) 'sortOptions': sortOptions!,
  if (start != null) 'start': start!,
};