ConfigChange.fromJson constructor
ConfigChange.fromJson(
- Map json_
Implementation
ConfigChange.fromJson(core.Map json_)
: this(
advices: json_.containsKey('advices')
? (json_['advices'] as core.List)
.map((value) => Advice.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
changeType: json_.containsKey('changeType')
? json_['changeType'] as core.String
: null,
element: json_.containsKey('element')
? json_['element'] as core.String
: null,
newValue: json_.containsKey('newValue')
? json_['newValue'] as core.String
: null,
oldValue: json_.containsKey('oldValue')
? json_['oldValue'] as core.String
: null,
);