StringEvent constructor

StringEvent({
  1. String? type,
  2. Iterable<Attribute>? attributes,
})

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;
}