UserApi class abstract

Declares the functions that consist of Embrace's public API. You should not use UserApi directly or implement it in your own custom classes, as new functions may be added in future. Use the Embrace class instead.





hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


addUserPersona(String persona) → void
Adds a custom user persona.
clearAllUserPersonas() → void
Clears all custom user personas from the user.
clearUserAsPayer() → void
Clears this user as a paying user.
clearUserEmail() → void
Clear the currently set user email.
clearUserIdentifier() → void
Clears the currently set user identifier.
clearUserName() → void
Clear the currently set user name.
clearUserPersona(String persona) → void
Clears the custom user persona, if it is set.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
setUserAsPayer() → void
Sets this user as a paying user.
setUserEmail(String email) → void
Sets the current user's email.
setUserIdentifier(String id) → void
Sets the user identifier
setUserName(String name) → void
Sets the current user's name.
toString() String
A string representation of this object.


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