EventType.fromJson constructor

EventType.fromJson(
  1. Map json_
)

Implementation

EventType.fromJson(core.Map json_)
  : this(
      description: json_['description'] as core.String?,
      eventSchemaUri: json_['eventSchemaUri'] as core.String?,
      filteringAttributes: (json_['filteringAttributes'] as core.List?)
          ?.map(
            (value) => FilteringAttribute.fromJson(
              value as core.Map<core.String, core.dynamic>,
            ),
          )
          .toList(),
      type: json_['type'] as core.String?,
    );