Hl7V2StoreMetrics.fromJson constructor

Hl7V2StoreMetrics.fromJson(
  1. Map json_
)

Implementation

Hl7V2StoreMetrics.fromJson(core.Map json_)
    : this(
        metrics: json_.containsKey('metrics')
            ? (json_['metrics'] as core.List)
                .map((value) => Hl7V2StoreMetric.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );