WatchEvent constructor
WatchEvent(
- String eventType, {
- String? matchContent,
- WatchPriority? priority,
Implementation
WatchEvent(this.eventType, {this.matchContent, WatchPriority? priority}) {
if (priority == null) {
this.priority = WatchPriority.low;
} else {
this.priority = priority;
}
}