toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bytesRead != null) 'bytesRead': bytesRead!,
      if (fetchWaitTimeMillis != null)
        'fetchWaitTimeMillis': fetchWaitTimeMillis!,
      if (localBlocksFetched != null)
        'localBlocksFetched': localBlocksFetched!,
      if (localBytesRead != null) 'localBytesRead': localBytesRead!,
      if (recordsRead != null) 'recordsRead': recordsRead!,
      if (remoteBlocksFetched != null)
        'remoteBlocksFetched': remoteBlocksFetched!,
      if (remoteBytesRead != null) 'remoteBytesRead': remoteBytesRead!,
      if (remoteBytesReadToDisk != null)
        'remoteBytesReadToDisk': remoteBytesReadToDisk!,
      if (remoteReqsDuration != null)
        'remoteReqsDuration': remoteReqsDuration!,
      if (stageShufflePushReadMetrics != null)
        'stageShufflePushReadMetrics': stageShufflePushReadMetrics!,
    };