leave method

  1. @override
Future<void> leave(
  1. ChatId chatId,
  2. ChatCallDeviceId deviceId
)
override

Leaves the current OngoingCall in the specified chatId by the authenticated MyUser.

Implementation

@override
Future<void> leave(ChatId chatId, ChatCallDeviceId deviceId) async {
  Log.debug('leave($chatId, $deviceId)', '$runtimeType');
  await _graphQlProvider.leaveChatCall(chatId, deviceId);
}