switchCamera method Null safety
Switch the camera
Implementation
Future<int> switchCamera() async {
IntValue reply = await _api.switchCamera();
return reply.value ?? -1;
}
Switch the camera
Future<int> switchCamera() async {
IntValue reply = await _api.switchCamera();
return reply.value ?? -1;
}