manageStreamController abstract method

void manageStreamController(
  1. StreamController controller
)

Automatically cancel a stream controller when this object is disposed.

The parameter may not be null.

Implementation

void manageStreamController(StreamController<dynamic> controller);