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