options property

Map? get options

Updated key-value mapping from option names to ScannerOption containing the new configuration after attempting to set all supplied options. This has the same structure as the options field in OpenScannerResponse.

This field will be set even if some options were not set successfully, but will be unset if retrieving the updated configuration fails (e.g., if the scanner is disconnected in the middle).

Implementation

Map? get options => _wrapped.options?.toDartMap();
set options (Map? v)

Implementation

set options(Map? v) {
  _wrapped.options = v?.jsify();
}