startRecording method
Starts call recording.
Implementation
Future<void> startRecording() async {
try {
await CometChatCallsPluginPlatform.instance.nativeStartRecording();
_isRecording = true;
} catch (e) {
throw CometChatCallsException(
ErrorCodeConstants.errorStartRecording,
'Failed to start recording',
e.toString(),
);
}
}