WatchEvent constructor

WatchEvent(
  1. String eventType, {
  2. String? matchContent,
  3. WatchPriority? priority,
})

Implementation

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