copyWith method

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

Implementation

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