copyWith method

ToggleChatIsPinned copyWith({
  1. ChatList? chatList,
  2. int? chatId,
  3. bool? isPinned,
})

Implementation

ToggleChatIsPinned copyWith({
  ChatList? chatList,
  int? chatId,
  bool? isPinned,
}) =>
    ToggleChatIsPinned(
      chatList: chatList ?? this.chatList,
      chatId: chatId ?? this.chatId,
      isPinned: isPinned ?? this.isPinned,
    );