dispose method
关闭并销毁消息通道
Implementation
Future<void> dispose() async {
await _streamSubscription?.cancel();
_streamSubscription = null;
_stream = null;
}
关闭并销毁消息通道
Future<void> dispose() async {
await _streamSubscription?.cancel();
_streamSubscription = null;
_stream = null;
}