NiceChatMessage class
A chat message.
Constructors
-
NiceChatMessage({required String id, required String text, required String sender, required DateTime timestamp, bool isMe = false, ImageProvider<
Object> ? avatar, String? status}) -
const
Properties
-
avatar
→ ImageProvider<
Object> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- isMe → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → String
-
final
- status → String?
-
final
- 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