ScannerBridge constructor
ScannerBridge({
- ScannerHostApi? host,
- EventChannel? scans,
Creates a bridge with optional injected host and event channel for tests.
Implementation
ScannerBridge({ScannerHostApi? host, EventChannel? scans})
: _host = host ?? ScannerHostApi(),
_scans = scans;