BatchUser class
Provides user related functionality, such as custom data and events.
Do not instantiate this: use the instance
static property.
Constructors
Properties
-
attributes
→ Future<
Map< String, BatchUserAttribute> > -
Read the saved attributes.
Reading is asynchronous so as not to interfere with saving operations.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
identifier
→ Future<
String?> -
Get the user identifier.
Returns null if you didn't set one.
no setter
-
installationID
→ Future<
String?> -
Get the unique Installation ID, generated by the SDK.
no setter
-
language
→ Future<
String?> -
Get the language override.
Returns null if you didn't set a custom language.
no setter
-
region
→ Future<
String?> -
Get the region override.
Returns null if you didn't set a custom language.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tagCollections
→ Future<
Map< String, List< >String> > -
Read the saved tag collections.
Reading is asynchronous so as not to interfere with saving operations.
no setter
Methods
-
clearInstallationData(
) → void - Clear all tags and attributes set on an installation and their local cache returned by attributes and tagCollections. This does not affect data set on profiles using BatchProfile.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited