toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (connectionProperties != null)
        'connectionProperties': connectionProperties!,
      if (continuous != null) 'continuous': continuous!,
      if (createSession != null) 'createSession': createSession!,
      if (defaultDataset != null) 'defaultDataset': defaultDataset!,
      if (dryRun != null) 'dryRun': dryRun!,
      if (formatOptions != null) 'formatOptions': formatOptions!,
      if (jobCreationMode != null) 'jobCreationMode': jobCreationMode!,
      if (kind != null) 'kind': kind!,
      if (labels != null) 'labels': labels!,
      if (location != null) 'location': location!,
      if (maxResults != null) 'maxResults': maxResults!,
      if (maximumBytesBilled != null)
        'maximumBytesBilled': maximumBytesBilled!,
      if (parameterMode != null) 'parameterMode': parameterMode!,
      if (preserveNulls != null) 'preserveNulls': preserveNulls!,
      if (query != null) 'query': query!,
      if (queryParameters != null) 'queryParameters': queryParameters!,
      if (requestId != null) 'requestId': requestId!,
      if (timeoutMs != null) 'timeoutMs': timeoutMs!,
      if (useLegacySql != null) 'useLegacySql': useLegacySql!,
      if (useQueryCache != null) 'useQueryCache': useQueryCache!,
    };