openScanner method
Opens a scanner for exclusive access. On success, the response containing
a scanner handle and configuration will be sent to the callback.
|scannerId| : Scanner id previously returned from getScannerList
indicating which scanner should be opened.
|callback| : Called with the result.
Implementation
Future<OpenScannerResponse> openScanner(String scannerId) async {
var $res = await $js.chrome.documentScan.openScanner(scannerId).toDart;
return OpenScannerResponse.fromJS($res);
}