registerWebFDioInterceptorInstaller function

void registerWebFDioInterceptorInstaller(
  1. double contextId,
  2. void installer(
    1. Dio
    )
)

Register a context-aware installer to be invoked for the Dio instance associated with the given context. If the Dio already exists, the installer is applied immediately; otherwise it will be applied on first creation.

Implementation

void registerWebFDioInterceptorInstaller(double contextId, void Function(Dio) installer) {
  _WebFDioPool.registerInstaller(contextId, installer);
}