configure method
void
configure({
- required NetworkManagerProtocol networkManager,
- required FingerprintCollectorProtocol fingerprintCollector,
- required Uri baseURL,
- 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;
}