stopRecording method
Stops call recording.
Implementation
Future<void> stopRecording() async {
try {
await CometChatCallsPluginPlatform.instance.nativeStopRecording();
_isRecording = false;
} catch (e) {
throw CometChatCallsException(
ErrorCodeConstants.errorStopRecording,
'Failed to stop recording',
e.toString(),
);
}
}