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