CounterMetadata.fromJson constructor
CounterMetadata.fromJson(
- Map json_
Implementation
CounterMetadata.fromJson(core.Map json_)
: this(
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
otherUnits: json_.containsKey('otherUnits')
? json_['otherUnits'] as core.String
: null,
standardUnits: json_.containsKey('standardUnits')
? json_['standardUnits'] as core.String
: null,
);