add method

void add(
  1. T value
)

Adds an event and notify it to listeners.

Implementation

void add(T value) {
  if (!_used) return;
  _controller.add(value);
}