onConfigureRequested property
EventStream<OnConfigureRequestedEvent>
get
onConfigureRequested
Raised when showing a configuration dialog for fileSystemId
is requested. If it's handled, the
file_system_provider.configurable
manfiest option must be
set to true.
Implementation
EventStream<OnConfigureRequestedEvent> get onConfigureRequested =>
$js.chrome.fileSystemProvider.onConfigureRequested.asStream(($c) => (
$js.ConfigureRequestedOptions options,
$js.ProviderSuccessCallback successCallback,
$js.ProviderErrorCallback errorCallback,
) {
return $c(OnConfigureRequestedEvent(
options: ConfigureRequestedOptions.fromJS(options),
successCallback: () {
//ignore: avoid_dynamic_calls
(successCallback as Function)();
},
errorCallback: (ProviderError error) {
//ignore: avoid_dynamic_calls
(errorCallback as Function)(error.toJS);
},
));
}.toJS);