destroy method

  1. @override
Future<void> destroy()

Destroys the RtcChannel instance.

Implementation

@override
Future<void> destroy() {
  _handler = null;
  _channels.remove(channelId);
  return _invokeMethod('destroy');
}