switchCamera method
Implementation
Future<bool> switchCamera() async {
try {
final bool result = await _channel.invokeMethod('switchCamera');
print("switchCamera: $result");
return result;
} on PlatformException catch (e) {
print("Error switchCamera: $e.message");
}
return false;
}