CustomMetric.fromJson constructor

CustomMetric.fromJson(
  1. Map json_
)

Implementation

CustomMetric.fromJson(core.Map json_)
    : this(
        name: json_['name'] as core.String?,
        value: (json_['value'] as core.num?)?.toDouble(),
      );