PeamanAcceptedChat class
Constructors
-
PeamanAcceptedChat({String? id, String? lastMessageId, List<
String> userIds = const <String>[], List<String> typingUserIds = const <String>[], List<String> pinnedChatUserIds = const <String>[], PeamanChatRequestStatus chatRequestStatus = PeamanChatRequestStatus.idle, String? chatRequestSenderId, int unreadMessagesCount(String uid)?, int? createdAt, int? updatedAt, Map<String, dynamic> extraData = const {}})
Properties
- chatRequestSenderId → String?
-
final
- chatRequestStatus → PeamanChatRequestStatus
-
final
- createdAt → int?
-
final
-
extraData
→ Map<
String, dynamic> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
final
- lastMessageId → String?
-
final
-
pinnedChatUserIds
→ List<
String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
typingUserIds
→ List<
String> -
final
- unreadMessagesCount → (int Function(String uid)?)
-
final
- updatedAt → int?
-
final
-
userIds
→ List<
String> -
final
Methods
-
copyWith(
{String? id, String? lastMessageId, List< String> ? userIds, List<String> ? typingUserIds, List<String> ? pinnedChatUserIds, PeamanChatRequestStatus? chatRequestStatus, String? chatRequestSenderId, int unreadMessagesCount(String)?, int? createdAt, int? updatedAt, Map<String, dynamic> ? extraData}) → PeamanAcceptedChat -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
Map< String, dynamic> data) → PeamanAcceptedChat