toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      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 (shufflePushReadMetrics != null)
        'shufflePushReadMetrics': shufflePushReadMetrics!,
    };