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: () {
              //ignore: avoid_dynamic_calls
              (successCallback as Function)();
            },
            errorCallback: (ProviderError error) {
              //ignore: avoid_dynamic_calls
              (errorCallback as Function)(error.toJS);
            },
          ));
        }.toJS);