StringEvent constructor
Implementation
factory StringEvent({
$core.String? type,
$core.Iterable<Attribute>? attributes,
}) {
final result = create();
if (type != null) {
result.type = type;
}
if (attributes != null) {
result.attributes.addAll(attributes);
}
return result;
}