Attribution class
Attribution data returned by the justtrack backend.
Contains information about how the user was attributed, including campaign, channel, partner, and other attribution details.
Constructors
- Attribution({required String userType, required String type, required AttributionCampaign campaign, required AttributionChannel channel, required AttributionPartner partner, String? sourceId, String? sourceBundleId, String? sourcePlacement, String? adsetId, required DateTime createdAt, required bool isRedownload})
- Creates an Attribution instance.
Properties
- adsetId → String?
-
The adset id the user was attributed to, if any.
final
- campaign → AttributionCampaign
-
The campaign to which this user was attributed.
final
- channel → AttributionChannel
-
The channel through which the user was attributed.
final
- createdAt → DateTime
-
The date when the attribution was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRedownload → bool
-
Whether the user has previously downloaded the application.
final
- partner → AttributionPartner
-
The partner the user was attributed to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceBundleId → String?
-
The source bundle id the user was attributed to, if any.
final
- sourceId → String?
-
The source id the user was attributed to, if any.
final
- sourcePlacement → String?
-
The source placement the user was attributed to, if any.
final
- type → String
-
The type of the attribution.
final
- userType → String
-
The type of the current install. Can be "acquisition" or "retargeting".
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited