onRemoveWatcherRequested property
EventStream<OnRemoveWatcherRequestedEvent>
get
onRemoveWatcherRequested
Raised when the watcher should be removed. If an error occurs, then
errorCallback must be called.
Implementation
EventStream<OnRemoveWatcherRequestedEvent> get onRemoveWatcherRequested =>
$js.chrome.fileSystemProvider.onRemoveWatcherRequested.asStream(($c) => (
$js.RemoveWatcherRequestedOptions options,
$js.ProviderSuccessCallback successCallback,
$js.ProviderErrorCallback errorCallback,
) {
return $c(OnRemoveWatcherRequestedEvent(
options: RemoveWatcherRequestedOptions.fromJS(options),
successCallback: () {
successCallback.callAsFunction(
null,
);
},
errorCallback: (ProviderError error) {
errorCallback.callAsFunction(null, error.toJS);
},
));
}.toJS);