DVTouch class final

One visit's source.

Constructors

DVTouch({required DateTime at, String? source, String? medium, String? campaign, String? content, String? term, String? id, String? fbclid, String? gclid, String? fbc, String? referrer, String? landingPath})
const

Properties

at → DateTime
When the visit landed.
final
campaign → String?
utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id.
final
content → String?
utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id.
final
fbc → String?
fbclid in the format Meta documents for the _fbc cookie and the Conversions API: fb.1.<creation time in milliseconds>.<fbclid>.
final
fbclid → String?
Meta's and Google's click ids.
final
gclid → String?
Meta's and Google's click ids.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id.
final
isTagged → bool
Whether the visit carried a campaign parameter or a click id.
no setter
landingPath → String?
The path the visit landed on, without its query.
final
medium → String?
utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id.
final
referrer → String?
The page that linked here, when it was another site's.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String?
utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id.
final
term → String?
utm_source, utm_medium, utm_campaign, utm_content, utm_term and utm_id.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
The touch as plain data, with the parameters' own names. A parameter the visit did not carry is left out.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Object? json) → DVTouch?