LabelFieldModification.fromJson constructor
LabelFieldModification.fromJson(
- Map json_
Implementation
LabelFieldModification.fromJson(core.Map json_)
: this(
fieldId: json_.containsKey('fieldId')
? json_['fieldId'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
setDateValues: json_.containsKey('setDateValues')
? (json_['setDateValues'] as core.List)
.map((value) => core.DateTime.parse(value as core.String))
.toList()
: null,
setIntegerValues: json_.containsKey('setIntegerValues')
? (json_['setIntegerValues'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
setSelectionValues: json_.containsKey('setSelectionValues')
? (json_['setSelectionValues'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
setTextValues: json_.containsKey('setTextValues')
? (json_['setTextValues'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
setUserValues: json_.containsKey('setUserValues')
? (json_['setUserValues'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
unsetValues: json_.containsKey('unsetValues')
? json_['unsetValues'] as core.bool
: null,
);