exitChatRoom method

Future<void> exitChatRoom ({@required String roomId })

Implementation

Future<void> exitChatRoom({
  @required String roomId,
}) async {

  await _channel.invokeMethod('exitChatRoom',
  { 'roomId': roomId }..removeWhere((key, value) => value == null));

  return;
}