VisualizationData.fromJson constructor
VisualizationData.fromJson(
- Map json_
Implementation
VisualizationData.fromJson(core.Map json_)
: this(
dataSourceEndToken: json_.containsKey('dataSourceEndToken')
? json_['dataSourceEndToken'] as core.String
: null,
dataSourceSeparatorToken:
json_.containsKey('dataSourceSeparatorToken')
? json_['dataSourceSeparatorToken'] as core.String
: null,
diagnosticMessages: json_.containsKey('diagnosticMessages')
? (json_['diagnosticMessages'] as core.List)
.map((value) => DiagnosticMessage.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
endKeyStrings: json_.containsKey('endKeyStrings')
? (json_['endKeyStrings'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
hasPii:
json_.containsKey('hasPii') ? json_['hasPii'] as core.bool : null,
indexedKeys: json_.containsKey('indexedKeys')
? (json_['indexedKeys'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
keySeparator: json_.containsKey('keySeparator')
? json_['keySeparator'] as core.String
: null,
keyUnit: json_.containsKey('keyUnit')
? json_['keyUnit'] as core.String
: null,
metrics: json_.containsKey('metrics')
? (json_['metrics'] as core.List)
.map((value) => Metric.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
prefixNodes: json_.containsKey('prefixNodes')
? (json_['prefixNodes'] as core.List)
.map((value) => PrefixNode.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);