copyWith method

SetPinnedChats copyWith({
  1. ChatList? chatList,
  2. List<int>? chatIds,
})

Implementation

SetPinnedChats copyWith({
  ChatList? chatList,
  List<int>? chatIds,
}) =>
    SetPinnedChats(
      chatList: chatList ?? this.chatList,
      chatIds: chatIds ?? this.chatIds,
    );