copyWith method

LoadChats copyWith({
  1. ChatList? chatList,
  2. int? limit,
})

Implementation

LoadChats copyWith({
  ChatList? chatList,
  int? limit,
}) => LoadChats(
  chatList: chatList ?? this.chatList,
  limit: limit ?? this.limit,
);