SnowplowFlutterTracker class
SnowplowFlutterTracker The class which communicates with the current platform.
- Inheritance
-
- Object
- AbstractTracker
- SnowplowFlutterTracker
- Annotations
Constructors
- SnowplowFlutterTracker(Tracker _tracker)
-
Constructs a SnowplowFlutterTracker instance.
const
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
-
close(
) → Future< void> -
close
Deallocates the underlying tracker instance and stops all tracking.
override
-
disableGdprContext(
) → Future< void> -
disableGdprContext
Disables GDPR context.
override
-
enableGdprContext(
GDPRContext context) → Future< void> -
enableGdprContext
Enables GDPR context to be sent with every event.
override
-
initialize(
) → Future< void> -
initialize
Initializes the tracker.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setSubject(
Subject subject) → Future< void> -
setSubject
Sets the subject on the platform's tracker instance.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
track(
AbstractEvent event) → Future< void> -
track
Tracks the given
event
parameter by the platform's tracker instance.override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- isInitialized → bool
-
A flag indicating, if a SnowplowTracker was already initialised
no setter