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