toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dataSourceRestrictions != null)
        'dataSourceRestrictions': dataSourceRestrictions!,
      if (query != null) 'query': query!,
      if (requestOptions != null) 'requestOptions': requestOptions!,
    };