closeScanner method

  1. @override
Future<bool> closeScanner()
override

Closes the barcode scanner and returns the closing status.

Returns a Future with a boolean indicating the status of the closing operation.

Implementation

@override
Future<bool> closeScanner() async {
  final status = await methodChannel.invokeMethod<bool>('closeScanner');
  return status ?? false;
}