Metric.fromJson constructor

Metric.fromJson(
  1. Map json_
)

Implementation

Metric.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );