onAttached property

EventStream<StorageUnitInfo> get onAttached

Fired when a new removable storage is attached to the system.

Implementation

EventStream<StorageUnitInfo> get onAttached =>
    $js.chrome.system.storage.onAttached
        .asStream(($c) => ($js.StorageUnitInfo info) {
              return $c(StorageUnitInfo.fromJS(info));
            });