NiceChatMessage class

Chat message.

Constructors

NiceChatMessage({required String id, required String author, required String text, required DateTime timestamp, String? authorAvatar, bool isOwnMessage = false})
const

Properties

author → String
final
authorAvatar → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isOwnMessage → bool
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
final
timestamp → DateTime
final

Methods

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

Operators

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