User class
If your Chat app
authenticates as a user,
the output for a User resource (such as in the Messages and Memberships
APIs) only populates the name and type fields for both internal and
external users, unless they are members of the space or have prior affinity
with the calling user.
Constructors
Properties
- avatarUrl ↔ String?
-
The user's avatar image URL.
getter/setter pair
- displayName ↔ String?
-
The user's display name.
getter/setter pair
- domainId ↔ String?
-
Unique identifier of the user's Google Workspace domain.
getter/setter pair
- email ↔ String?
-
The user's email address.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAnonymous ↔ bool?
-
When
true, the user is deleted or their profile is not visible, such as when a user is mentioned in a space without being a member and without prior affinity with the calling user.getter/setter pair - name ↔ String?
-
Resource name for a Google Chat user.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String?
-
User type.
Possible string values are:
getter/setter pair
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