leaveChannel method Null safety

Future<void> leaveChannel()

Leaves the current channel.

A successful leaveChannel method call triggers the following callbacks:

Implementation

@override
Future<void> leaveChannel() {
  return _invokeMethod('leaveChannel');
}