Event.internal constructor
Event.internal(
- String type, {
- EventTarget? target,
- bool? composed = false,
- bool canBubble = true,
- bool? cancelable = true,
Implementation
@visibleForTesting
Event.internal(
this.type, {
EventTarget? target,
this.composed = false,
bool canBubble = true,
this.cancelable = true,
}) : bubbles = canBubble,
_target = target,
timeStamp = DateTime.now().microsecondsSinceEpoch;