QChatRoom class

Constructors

QChatRoom({required int id, required String uniqueId, String? name, String? avatarUrl, Json? extras, QMessage? lastMessage, int unreadCount = 0, List<QParticipant> participants = const [], QRoomType type = QRoomType.single})

Properties

avatarUrl String?
getter/setter pair
extras ↔ Json?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
lastMessage QMessage?
getter/setter pair
name String?
getter/setter pair
participants List<QParticipant>
getter/setter pair
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
totalParticipants int
getter/setter pair
type QRoomType
getter/setter pair
uniqueId String
getter/setter pair
unreadCount int
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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