User class

Describes an Nhost user.

Constructors

User({required String id, required String email, String? displayName, Uri? avatarUrl})

Properties

avatarUrl Uri?
A Uri locating the user's avatar image, or null if none.
final
displayName String?
The user's preferred name for display, or null if none
final
email String
The user's email address
final
hashCode int
The hash code for this object.
no setterinherited
id String
A UUID identifying the user
final
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(dynamic json) User