switchCamera method Null safety
switch camera to front or rear.
Implementation
Future<void> switchCamera() async {
return await PlatformService.invokeMethod(
PlatformMethod.switchCamera,
);
}
switch camera to front or rear.
Future<void> switchCamera() async {
return await PlatformService.invokeMethod(
PlatformMethod.switchCamera,
);
}