User class

User is used to contain all user data. It consists of three standard fields: firstName, lastName and image/imageUrl.

For additional data profileData can be used.

Constructors

User({String? firstName, String? lastName, Uint8List? image, String? imageUrl, ProfileData? profileData})
User.fromMap(Map<String, dynamic> data)
factory

Properties

displayName → String
no setter
firstName ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
image ↔ Uint8List?
getter/setter pair
imageUrl ↔ String?
getter/setter pair
initials → String
no setter
lastName ↔ String?
getter/setter pair
profileData ↔ ProfileData?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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