onCameraToggled method
Called when the user toggles the camera (video calls).
sessionId — the active call session ID.
isOn — true if the camera is now on, false if off.
Default: delegates to NotificationVoipPlugin.toggleCamera.
Implementation
Future<void> onCameraToggled(String sessionId, bool isOn) async {
await NotificationVoipPlugin.toggleCamera(sessionId);
}