copyWith method

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

Implementation

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