switchCamera method
called when switch the camera
Implementation
Future<void> switchCamera() async {
// TODO(amirh): remove this on when the invokeMethod update makes it to stable Flutter.
await channel.invokeMethod('switchCamera', null);
}
called when switch the camera
Future<void> switchCamera() async {
// TODO(amirh): remove this on when the invokeMethod update makes it to stable Flutter.
await channel.invokeMethod('switchCamera', null);
}