setCameraVisible method

Future<void> setCameraVisible(
  1. bool isCameraVisible
)

Call set camera visible in Native API. This API is used to automatically manage pause and resume camera

Implementation

Future<void> setCameraVisible(bool isCameraVisible) {
  return _channel
      .invokeMethod('setCameraVisible', {"isCameraVisible": isCameraVisible});
}