toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (cacheHit != null) 'cacheHit': cacheHit!,
  if (creationTime != null) 'creationTime': creationTime!,
  if (dmlStats != null) 'dmlStats': dmlStats!,
  if (endTime != null) 'endTime': endTime!,
  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 (location != null) 'location': location!,
  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 (startTime != null) 'startTime': startTime!,
  if (totalBytesBilled != null) 'totalBytesBilled': totalBytesBilled!,
  if (totalBytesProcessed != null)
    'totalBytesProcessed': totalBytesProcessed!,
  if (totalRows != null) 'totalRows': totalRows!,
  if (totalSlotMs != null) 'totalSlotMs': totalSlotMs!,
};