dispose method

void dispose()

Implementation

void dispose() {
  _isDisposed = true;
  controller.close();
}