EventDefinition.fromJson constructor
EventDefinition.fromJson(
- Map json_
Implementation
EventDefinition.fromJson(core.Map json_)
: this(
childEvents: json_.containsKey('childEvents')
? (json_['childEvents'] as core.List)
.map((value) => EventChild.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
imageUrl: json_.containsKey('imageUrl')
? json_['imageUrl'] as core.String
: null,
isDefaultImageUrl: json_.containsKey('isDefaultImageUrl')
? json_['isDefaultImageUrl'] as core.bool
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
visibility: json_.containsKey('visibility')
? json_['visibility'] as core.String
: null,
);