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 (readBytes != null) 'readBytes': readBytes!,
  if (readRecords != null) 'readRecords': readRecords!,
  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!,
  if (totalBlocksFetched != null) 'totalBlocksFetched': totalBlocksFetched!,
};