destroyAll method
销毁所有的 RtcChannel 对象。
Implementation
static void destroyAll() {
_channels.forEach((key, value) async {
value._handler = null;
await value._invokeMethod('destroy');
});
_channels.clear();
}
销毁所有的 RtcChannel 对象。
static void destroyAll() {
_channels.forEach((key, value) async {
value._handler = null;
await value._invokeMethod('destroy');
});
_channels.clear();
}