dispose method

void dispose()

Closes the message bus and cleans up resources. This should only be called when the SDK is being disposed.

Implementation

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