options property

Map? get options

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

This property will be set even if some options were not set successfully, but will be unset if retrieving the updated configuration fails (for example, if the scanner is disconnected in the middle of scanning).

Implementation

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

Implementation

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