ActionFlow.fromJson constructor
ActionFlow.fromJson(
- Map json_
Implementation
ActionFlow.fromJson(core.Map json_)
: this(
dialogButtonLabel: json_.containsKey('dialogButtonLabel')
? json_['dialogButtonLabel'] as core.String
: null,
dialogCallout: json_.containsKey('dialogCallout')
? Callout.fromJson(
json_['dialogCallout'] as core.Map<core.String, core.dynamic>)
: null,
dialogMessage: json_.containsKey('dialogMessage')
? TextWithTooltip.fromJson(
json_['dialogMessage'] as core.Map<core.String, core.dynamic>)
: null,
dialogTitle: json_.containsKey('dialogTitle')
? json_['dialogTitle'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
inputs: json_.containsKey('inputs')
? (json_['inputs'] as core.List)
.map((value) => InputField.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
label:
json_.containsKey('label') ? json_['label'] as core.String : null,
);