copyWith method

GetTopChats copyWith({
  1. TopChatCategory? category,
  2. int? limit,
})

Implementation

GetTopChats copyWith({
  TopChatCategory? category,
  int? limit,
}) => GetTopChats(
  category: category ?? this.category,
  limit: limit ?? this.limit,
);