SearchChatsOnServer constructor

const SearchChatsOnServer({
  1. required String query,
  2. required int limit,
})

Searches for the specified query in the title and username of already known chats via request to the server. Returns chats in the order seen in the main chat list

Implementation

const SearchChatsOnServer({
  required this.query,
  required this.limit,
});