QMessage class

Implementers

Constructors

QMessage({required int id, required int chatRoomId, required int previousMessageId, required String uniqueId, required String text, required QMessageStatus status, required QMessageType type, required Json? extras, required Json? payload, required QUser sender, required DateTime timestamp})

Properties

chatRoomId int
getter/setter pair
extras ↔ Json?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
payload ↔ Json?
getter/setter pair
previousMessageId int
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
sender QUser
getter/setter pair
status QMessageStatus
getter/setter pair
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
text String
getter/setter pair
timestamp DateTime
getter/setter pair
type QMessageType
getter/setter pair
uniqueId String
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