UserIdentifier class
Describes the current user associated with the application, such as the currently signed in user.
Constructors
-
UserIdentifier({String? id, String? username, String? email, String? ipAddress, UserGeoIdentifier? geo, String? name, Map<
String, dynamic> ? data}) -
You should provide at least one of
id,email,ipAddress,username
Properties
-
data
→ Map<
String, dynamic> ? -
Any other user context information that may be helpful.
final
- email → String?
-
The email address of the user.
final
- geo → UserGeoIdentifier?
-
Approximate geographical location of the end user or device.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
A unique identifier of the user.
final
- ipAddress → String?
-
The IP of the user.
final
- name → String?
-
Human readable name of the user.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username → String?
-
The username of the user.
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited