toJson method

Map<String, dynamic> toJson()

Implementation

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