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: () {
              successCallback.callAsFunction(
                null,
              );
            },
            errorCallback: (ProviderError error) {
              errorCallback.callAsFunction(null, error.toJS);
            },
          ));
        }.toJS);