Event constructor
Event({
- String? type,
- Iterable<
EventAttribute> ? attributes,
Implementation
factory Event({
$core.String? type,
$core.Iterable<EventAttribute>? attributes,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (attributes != null) {
_result.attributes.addAll(attributes);
}
return _result;
}