dispose method
Future<void>
dispose(
)
override
Implementation
@override
Future<void> dispose() async {
//TODO: Find a better way to dispose
/*
final futures = <Future>[];
if (!_chatController.isClosed) {
futures.add(_chatController.close());
}
if (!_presenceController.isClosed) {
futures.add(_presenceController.close());
}
if (!_typingController.isClosed) {
futures.add(_typingController.close());
}
if (_chatMarkerController.isClosed) {
futures.add(_chatMarkerController.close());
}
await Future.wait<dynamic>(futures);
*/
}