setCallState static method
Updates the current call state
Implementation
static Future<void> setCallState({
required String? sessionId,
required String? callState,
}) async {
if (!Platform.isAndroid && !Platform.isIOS) return Future.value();
return _methodChannel.invokeMethod("setCallState", {
'session_id': sessionId,
'call_state': callState,
});
}