switchCamera method
This method is used to switch the camera.
Implementation
@override
switchCamera() async {
try {
LogMessage.d('switchCamera :', '');
await mirrorFlyCallMethodChannel.invokeMethod('switchCamera');
} on PlatformException catch (e) {
LogMessage.d("Platform Exception =", " $e");
rethrow;
} on Exception catch (error) {
LogMessage.d("Exception ", " $error");
rethrow;
}
}