MetricValue.fromJson constructor

MetricValue.fromJson(
  1. Map _json
)

Implementation

MetricValue.fromJson(core.Map _json)
    : this(
        value:
            _json.containsKey('value') ? _json['value'] as core.String : null,
        variance: _json.containsKey('variance')
            ? _json['variance'] as core.String
            : null,
      );