onDeleteEntryRequested property

EventStream<OnDeleteEntryRequestedEvent> get onDeleteEntryRequested

Raised when deleting an entry is requested. If recursive is true, and the entry is a directory, then all of the entries inside must be recursively deleted as well.

Implementation

EventStream<OnDeleteEntryRequestedEvent> get onDeleteEntryRequested =>
    $js.chrome.fileSystemProvider.onDeleteEntryRequested.asStream(($c) => (
          $js.DeleteEntryRequestedOptions options,
          $js.ProviderSuccessCallback successCallback,
          $js.ProviderErrorCallback errorCallback,
        ) {
          return $c(OnDeleteEntryRequestedEvent(
            options: DeleteEntryRequestedOptions.fromJS(options),
            successCallback: () {
              successCallback.callAsFunction(
                null,
              );
            },
            errorCallback: (ProviderError error) {
              errorCallback.callAsFunction(null, error.toJS);
            },
          ));
        }.toJS);