ShuffleWriteQuantileMetrics.fromJson constructor

ShuffleWriteQuantileMetrics.fromJson(
  1. Map json_
)

Implementation

ShuffleWriteQuantileMetrics.fromJson(core.Map json_)
  : this(
      writeBytes:
          json_.containsKey('writeBytes')
              ? Quantiles.fromJson(
                json_['writeBytes'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      writeRecords:
          json_.containsKey('writeRecords')
              ? Quantiles.fromJson(
                json_['writeRecords'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      writeTimeNanos:
          json_.containsKey('writeTimeNanos')
              ? Quantiles.fromJson(
                json_['writeTimeNanos']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );