MetricsValue.fromJson constructor

MetricsValue.fromJson(
  1. Map json_
)

Implementation

MetricsValue.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );