DeepLinkHandler class
Responsible for handling both deferred and direct deep links.
This class manages the registration of callbacks and performs server-side resolution of deep link URLs to extract campaign metadata.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearCallbacks(
) → void - Clears all registered callbacks (for testing / reset)
-
configure(
{required NetworkManagerProtocol networkManager, required FingerprintCollectorProtocol fingerprintCollector, required Uri baseURL, AttributionContext? attributionContext}) → void - Configures the handler with the necessary components for server-side URL resolution.
-
deliverDeferredDeepLink(
DeepLinkData? deepLinkData) → Future< void> - Delivers deferred deep link data to all registered callbacks
-
handleDeepLink(
Uri uri) → Future< void> -
Resolves the provided
urito extract DeepLinkData. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDeepLink(
DeepLinkCallback callback) → void - Registers a callback for direct deep links
-
onDeferredDeepLink(
DeferredDeepLinkCallback callback) → void -
Registers a
callbackfor deferred deep links. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited