CLDynamicLinkParameters class

Parameters for creating a ChottuLink dynamic link.

This class holds all the information required to create a dynamic link, including the deep link, domain, platform-specific behavior, and optional tracking and social media parameters.

Constructors

CLDynamicLinkParameters({required Uri link, required String domain, CLDynamicLinkBehaviour androidBehaviour = CLDynamicLinkBehaviour.app, CLDynamicLinkBehaviour iosBehaviour = CLDynamicLinkBehaviour.app, String? utmSource, String? utmMedium, String? utmCampaign, String? utmContent, String? utmTerm, String? linkName, String? selectedPath, String? socialDescription, String? socialImageUrl, String? socialTitle})
Creates an instance of CLDynamicLinkParameters.

Properties

androidBehaviour → CLDynamicLinkBehaviour
The desired behavior on Android. Defaults to CLDynamicLinkBehaviour.app, which attempts to open the app.
final
domain → String
The custom domain to use for the dynamic link.
final
hashCode → int
The hash code for this object.
no setterinherited
iosBehaviour → CLDynamicLinkBehaviour
The desired behavior on iOS. Defaults to CLDynamicLinkBehaviour.app, which attempts to open the app.
final
The underlying deep link that the dynamic link will open. This is typically a URL that points to a specific content within your app.
final
linkName → String?
A name or identifier for the link.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedPath → String?
The path to be appended to the dynamic link.
final
socialDescription → String?
The description to be used when the link is shared on social media.
final
socialImageUrl → String?
The URL of an image to be used when the link is shared on social media.
final
socialTitle → String?
The title to be used when the link is shared on social media.
final
utmCampaign → String?
The utm_campaign parameter for tracking.
final
utmContent → String?
The utm_content parameter for tracking.
final
utmMedium → String?
The utm_medium parameter for tracking.
final
utmSource → String?
The utm_source parameter for tracking.
final
utmTerm → String?
The utm_term parameter for tracking.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Converts the parameters to a Map for use with the platform channel. This method is for internal use only.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited