User class
Constructors
Properties
- avatarStorageUUID → String?
-
final
- email → String
-
final
- emailVerified → bool
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- role → UserRole
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- username → String
-
final
- uuid → String
-
final
Methods
-
avatarUrl(
) → String? - Get the user's avatar url. if the user has no avatar, it will return null.
-
copyWith(
{String? uuid, String? username, String? email, bool? emailVerified, String? avatarStorageUUID, UserRole? role}) → User -
getToken(
String password) → Future< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override