resumeVideo method

Future<void> resumeVideo()

Resumes video for the local user.

Implementation

Future<void> resumeVideo() async {
  try {
    await CometChatCallsPluginPlatform.instance.nativeResumeVideo();
    _isVideoPaused = false;
  } catch (e) {
    throw CometChatCallsException(
      ErrorCodeConstants.errorResumeVideo,
      'Failed to resume video',
      e.toString(),
    );
  }
}