BatchProfile class
Provides Profile related functionality, such as custom data and events.
Do not instantiate this: use the instance
static property.
Constructors
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
-
identify(
String? identifier) → void - Identifies this device with a profile using a Custom User ID
-
newEditor(
) → BatchProfileAttributeEditor - Instantiate a new BatchProfileAttributeEditor to edit custom data attributes.
-
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 name, BatchEventAttributes? attributes}) → void - Track an event.
-
trackLocation(
{required double latitude, required double longitude}) → void - Track a geolocation update.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ BatchProfile
-
Batch Profile module singleton.
getter/setter pair