ChatGroupMember class

Constructors

ChatGroupMember({String? ChatGroupMemberId, String? ChatGroupId, String? UserId, String? UserTable, bool? IsRemoved, String? RemovedAt, bool? IsPinned, bool? IsMuted, String? UserName, String? TUserName, String? ShortUserName, Map<String, dynamic>? Raw})
ChatGroupMember.fromJson(Map<String, dynamic> json)
factory

Properties

ChatGroupId ↔ String?
getter/setter pair
ChatGroupMemberId ↔ String?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
Initials → String
Initials for an avatar, falling back to deriving them from UserName when the server did not supply ShortUserName.
no setter
IsMuted ↔ bool?
getter/setter pair
IsPinned ↔ bool?
getter/setter pair
IsRemoved ↔ bool?
getter/setter pair
Raw ↔ Map<String, dynamic>?
Fields the server returned that are not modelled above.
getter/setter pair
RemovedAt ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
ShortUserName ↔ String?
Initials, e.g. "MM" for "Md. Marufar Rahman Ocean".
getter/setter pair
TUserName ↔ String?
UserName upper-cased, supplied by the server for case-insensitive sorting and matching.
getter/setter pair
UserId ↔ String?
getter/setter pair
UserName ↔ String?
Display name, joined in by GetChatGroupMembers.
getter/setter pair
UserTable ↔ String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toMemberPacket() → Map<String, dynamic>
The member shape CreateChat and AddRemoveMember expect — id and table only, no display or state fields.
toString() → String
A string representation of this object.
inherited

Operators

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