onExecuteActionRequested property
EventStream<OnExecuteActionRequestedEvent>
get
onExecuteActionRequested
Raised when executing an action for a set of files or directories is
requested. After the action is completed, successCallback
must be called. On error, errorCallback
must be called.
Implementation
EventStream<OnExecuteActionRequestedEvent> get onExecuteActionRequested =>
$js.chrome.fileSystemProvider.onExecuteActionRequested.asStream(($c) => (
$js.ExecuteActionRequestedOptions options,
$js.ProviderSuccessCallback successCallback,
$js.ProviderErrorCallback errorCallback,
) {
return $c(OnExecuteActionRequestedEvent(
options: ExecuteActionRequestedOptions.fromJS(options),
successCallback: () {
//ignore: avoid_dynamic_calls
(successCallback as Function)();
},
errorCallback: (ProviderError error) {
//ignore: avoid_dynamic_calls
(errorCallback as Function)(error.toJS);
},
));
});