MetricShortId.fromJson constructor

MetricShortId.fromJson(
  1. Map json_
)

Implementation

MetricShortId.fromJson(core.Map json_)
    : this(
        metricIndex: json_.containsKey('metricIndex')
            ? json_['metricIndex'] as core.int
            : null,
        shortId: json_.containsKey('shortId')
            ? json_['shortId'] as core.String
            : null,
      );