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,
);