switchCamera method
Switches between front and back camera.
Implementation
Future<void> switchCamera() async {
try {
await _coordinator.hostApi.switchCamera();
} on PlatformException catch (e) {
throw ChimeDeviceException('Failed to switch camera', e.message);
}
}