add method

  1. @override
void add(
  1. T data
)
override

Adds event to the controller's stream.

As StreamController.add, but must not be called while an event is being added by add, addError or close.

Implementation

@override
void add(T data) => synchronousStreamController.add(data);