NiceChatConversation class

A chat conversation data model

Constructors

NiceChatConversation({required String id, required String name, String? avatarUrl, String? lastMessage, DateTime? lastMessageTime, int unreadCount = 0, bool isOnline = false, bool isTyping = false, bool isGroupChat = false, List<String>? participants})
const

Properties

avatarUrl String?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isGroupChat bool
final
isOnline bool
final
isTyping bool
final
lastMessage String?
final
lastMessageTime DateTime?
final
name String
final
participants List<String>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unreadCount int
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