copyWith method

SearchChats copyWith({
  1. String? query,
  2. int? limit,
})

Implementation

SearchChats copyWith({
  String? query,
  int? limit,
}) => SearchChats(
  query: query ?? this.query,
  limit: limit ?? this.limit,
);