leaveRoom method

  1. @override
Future<void> leaveRoom()
override

Implementation

@override
Future<void> leaveRoom() async {
  try {
    await _rtcManager.dispose();
    WakelockPlus.disable();
  } catch (error) {
    _logger.bug(error.toString());
  }
}