Membership class

Represents a membership relation in Google Chat, such as whether a user or Chat app is invited to, part of, or absent from a space.

Constructors

Membership({String? createTime, String? deleteTime, Group? groupMember, User? member, String? name, String? role, String? state})
Membership.fromJson(Map json_)

Properties

createTime String?
The creation time of the membership, such as when a member joined or was invited to join a space.
getter/setter pair
deleteTime String?
The deletion time of the membership, such as when a member left or was removed from a space.
getter/setter pair
groupMember Group?
The Google Group the membership corresponds to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
member User?
The Google Chat user or app the membership corresponds to.
getter/setter pair
name String?
Resource name of the membership, assigned by the server.
getter/setter pair
role String?
User's role within a Chat space, which determines their permitted actions in the space.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state String?
State of the membership.
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