ActivityEvents.fromJson constructor

ActivityEvents.fromJson(
  1. Map json_
)

Implementation

ActivityEvents.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        parameters: json_.containsKey('parameters')
            ? (json_['parameters'] as core.List)
                .map((value) => ActivityEventsParameters.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );