ManagedProperty.fromJson constructor
ManagedProperty.fromJson(
- Map json_
Implementation
ManagedProperty.fromJson(core.Map json_)
: this(
key: json_.containsKey('key') ? json_['key'] as core.String : null,
valueBool: json_.containsKey('valueBool')
? json_['valueBool'] as core.bool
: null,
valueBundle: json_.containsKey('valueBundle')
? ManagedPropertyBundle.fromJson(
json_['valueBundle'] as core.Map<core.String, core.dynamic>)
: null,
valueBundleArray: json_.containsKey('valueBundleArray')
? (json_['valueBundleArray'] as core.List)
.map((value) => ManagedPropertyBundle.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
valueInteger: json_.containsKey('valueInteger')
? json_['valueInteger'] as core.int
: null,
valueString: json_.containsKey('valueString')
? json_['valueString'] as core.String
: null,
valueStringArray: json_.containsKey('valueStringArray')
? (json_['valueStringArray'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
);