onMoveEntryRequested property

EventStream<OnMoveEntryRequestedEvent> get onMoveEntryRequested

Raised when moving an entry (recursively if a directory) is requested. If an error occurs, then errorCallback must be called.

Implementation

EventStream<OnMoveEntryRequestedEvent> get onMoveEntryRequested =>
    $js.chrome.fileSystemProvider.onMoveEntryRequested.asStream(($c) => (
          $js.MoveEntryRequestedOptions options,
          $js.ProviderSuccessCallback successCallback,
          $js.ProviderErrorCallback errorCallback,
        ) {
          return $c(OnMoveEntryRequestedEvent(
            options: MoveEntryRequestedOptions.fromJS(options),
            successCallback: () {
              //ignore: avoid_dynamic_calls
              (successCallback as Function)();
            },
            errorCallback: (ProviderError error) {
              //ignore: avoid_dynamic_calls
              (errorCallback as Function)(error.toJS);
            },
          ));
        });