scanInvert method

Future<void> scanInvert(
  1. bool isScanInvert
)

Implementation

Future<void> scanInvert(bool isScanInvert) async {
  if (defaultTargetPlatform == TargetPlatform.android) {
    try {
      await _channel
          .invokeMethod('invertScan', {"isInvertScan": isScanInvert});
    } on PlatformException catch (e) {
      throw CameraException(e.code, e.message);
    }
  }
}