dispose method

void dispose()

Dispose the controller.

Implementation

void dispose() {
  stopScanning();
  _streamController.close();
}