dispose method

  1. @override
void dispose()

Dispose method to close the stream when no longer needed

Implementation

@override
void dispose() {
  _freeze = false;
  _valueController.close();
}