ReportedParallelism.fromJson constructor

ReportedParallelism.fromJson(
  1. Map json_
)

Implementation

ReportedParallelism.fromJson(core.Map json_)
    : this(
        isInfinite: json_.containsKey('isInfinite')
            ? json_['isInfinite'] as core.bool
            : null,
        value: json_.containsKey('value')
            ? (json_['value'] as core.num).toDouble()
            : null,
      );