User class

A user in Google Chat.

When returned as an output from a request, if your Chat app authenticates as a user, the output for a User resource only populates the user's name and type.

Constructors

User({String? displayName, String? domainId, bool? isAnonymous, String? name, String? type})
User.fromJson(Map json_)

Properties

displayName String?
The user's display name.
getter/setter pair
domainId String?
Unique identifier of the user's Google Workspace domain.
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.
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