onDeviceRemoved property

EventStream<Device> get onDeviceRemoved

Event generated when a device is removed from the system. See onDeviceAdded for which events are delivered.

Implementation

EventStream<Device> get onDeviceRemoved =>
    $js.chrome.usb.onDeviceRemoved.asStream(($c) => ($js.Device device) {
          return $c(Device.fromJS(device));
        });