ActivityEventsSensitiveParameters.fromJson constructor

ActivityEventsSensitiveParameters.fromJson(
  1. Map json_
)

Implementation

ActivityEventsSensitiveParameters.fromJson(core.Map json_)
  : this(
      boolValue: json_['boolValue'] as core.bool?,
      intValue: json_['intValue'] as core.String?,
      messageValue: json_.containsKey('messageValue')
          ? ActivityEventsSensitiveParametersMessageValue.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) =>
                ActivityEventsSensitiveParametersMultiMessageValue.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?,
    );