scanners property

List<ScannerInfo> get scanners

A possibly-empty list of scanners that match the provided DeviceFilter.

Implementation

List<ScannerInfo> get scanners => _wrapped.scanners.toDart
    .cast<$js.ScannerInfo>()
    .map((e) => ScannerInfo.fromJS(e))
    .toList();
set scanners (List<ScannerInfo> v)

Implementation

set scanners(List<ScannerInfo> v) {
  _wrapped.scanners = v.toJSArray((e) => e.toJS);
}