copyWith abstract method
- String? id,
- List<
ChatMessageModel> ? messages, - int? unreadMessages,
- DateTime? lastUsed,
- ChatMessageModel? lastMessage,
- ChatUserModel? user,
- bool? canBeDeleted,
override
Implementation
@override
PersonalChatModel copyWith({
String? id,
List<ChatMessageModel>? messages,
int? unreadMessages,
DateTime? lastUsed,
ChatMessageModel? lastMessage,
ChatUserModel? user,
bool? canBeDeleted,
});