Metric.fromJson constructor
Metric.fromJson(
- Map _json
Implementation
Metric.fromJson(core.Map _json)
: this(
expression: _json.containsKey('expression')
? _json['expression'] as core.String
: null,
invisible: _json.containsKey('invisible')
? _json['invisible'] as core.bool
: null,
name: _json.containsKey('name') ? _json['name'] as core.String : null,
);