LogConfigCounterOptions.fromJson constructor
LogConfigCounterOptions.fromJson(
- Map json_
Implementation
LogConfigCounterOptions.fromJson(core.Map json_)
: this(
customFields: json_.containsKey('customFields')
? (json_['customFields'] as core.List)
.map((value) => LogConfigCounterOptionsCustomField.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
field:
json_.containsKey('field') ? json_['field'] as core.String : null,
metric: json_.containsKey('metric')
? json_['metric'] as core.String
: null,
);