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,
      );