add method

void add(
  1. WidgetEvent event
)

Mutator to mark a T value as active.

Implementation

void add(WidgetEvent event) {
  if (value.add(event)) {
    notifyListeners();
  }
}