UmamiTracker class
Main class for tracking screen views and events.
Constructors
Properties
- dio → Dio
-
final
- firstReferrer ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostname → String
-
final
- id → String
-
final
- isEnabled ↔ bool
-
getter/setter pair
- language → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenSize → String
-
final
- userAgent → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
trackEvent(
{required String eventType, String? eventValue, String? screenName}) → Future< void> -
Send an event with the specified
eventType
. You can optionally provide aneventValue
and/or ascreenName
to attach to the event. -
trackScreenView(
String screenName, {String? referrer}) → Future< void> -
Send a pageview using the
screenName
. Ifreferrer
is provided it will be used overriding any permanent value.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited