ActivityEventsParameters.fromJson constructor
ActivityEventsParameters.fromJson(
- Map json_
Implementation
ActivityEventsParameters.fromJson(core.Map json_)
: this(
boolValue: json_['boolValue'] as core.bool?,
intValue: json_['intValue'] as core.String?,
messageValue:
json_.containsKey('messageValue')
? ActivityEventsParametersMessageValue.fromJson(
json_['messageValue'] as core.Map<core.String, core.dynamic>,
)
: null,
multiIntValue:
(json_['multiIntValue'] as core.List?)
?.map((value) => value as core.String)
.toList(),
multiMessageValue:
(json_['multiMessageValue'] as core.List?)
?.map(
(value) => ActivityEventsParametersMultiMessageValue.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
multiValue:
(json_['multiValue'] as core.List?)
?.map((value) => value as core.String)
.toList(),
name: json_['name'] as core.String?,
value: json_['value'] as core.String?,
);