configure method

void configure({
  1. required NetworkManagerProtocol networkManager,
  2. required FingerprintCollectorProtocol fingerprintCollector,
  3. required Uri baseURL,
  4. AttributionContext? attributionContext,
})

Configures the handler with the necessary components for server-side URL resolution.

Parameters:

  • networkManager: The network layer for API requests.
  • fingerprintCollector: The collector for device metadata.
  • baseURL: The base URL used for identifying LinkForty-shortened links.

Implementation

void configure({
  required NetworkManagerProtocol networkManager,
  required FingerprintCollectorProtocol fingerprintCollector,
  required Uri baseURL,
  AttributionContext? attributionContext,
}) {
  _networkManager = networkManager;
  _fingerprintCollector = fingerprintCollector;
  _attributionContext = attributionContext;
}