resumeScanner method

Future<void> resumeScanner({
  1. String? commandTag,
  2. bool requestResult = true,
})

Resumes a suspended scanner plugin.

Call this after suspendScanner to re-enable scanning.

Implementation

Future<void> resumeScanner({
  String? commandTag,
  bool requestResult = true,
}) {
  return scannerInputPlugin(
    DataWedgeScannerInputAction.resumePlugin,
    commandTag: commandTag ?? 'RESUME_SCANNER_PLUGIN',
    requestResult: requestResult,
  );
}