toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cacheHit != null) 'cacheHit': cacheHit!,
      if (dmlStats != null) 'dmlStats': dmlStats!,
      if (errors != null) 'errors': errors!,
      if (jobComplete != null) 'jobComplete': jobComplete!,
      if (jobCreationReason != null) 'jobCreationReason': jobCreationReason!,
      if (jobReference != null) 'jobReference': jobReference!,
      if (kind != null) 'kind': kind!,
      if (numDmlAffectedRows != null)
        'numDmlAffectedRows': numDmlAffectedRows!,
      if (pageToken != null) 'pageToken': pageToken!,
      if (queryId != null) 'queryId': queryId!,
      if (rows != null) 'rows': rows!,
      if (schema != null) 'schema': schema!,
      if (sessionInfo != null) 'sessionInfo': sessionInfo!,
      if (totalBytesProcessed != null)
        'totalBytesProcessed': totalBytesProcessed!,
      if (totalRows != null) 'totalRows': totalRows!,
    };