Metric.fromJson constructor
Metric.fromJson(
- Map json_
Implementation
Metric.fromJson(core.Map json_)
: this(
alias:
json_.containsKey('alias') ? json_['alias'] as core.String : null,
expression: json_.containsKey('expression')
? json_['expression'] as core.String
: null,
formattingType: json_.containsKey('formattingType')
? json_['formattingType'] as core.String
: null,
);