copyWith abstract method

  1. @override
GroupChatModelInterface copyWith({
  1. String? id,
  2. List<ChatMessageModel>? messages,
  3. int? unreadMessages,
  4. DateTime? lastUsed,
  5. ChatMessageModel? lastMessage,
  6. String? title,
  7. String? imageUrl,
  8. List<ChatUserModel>? users,
  9. 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,
});