copyWith method

Chats copyWith({
  1. int? totalCount,
  2. List<int>? chatIds,
})

Implementation

Chats copyWith({
  int? totalCount,
  List<int>? chatIds,
}) =>
    Chats(
      totalCount: totalCount ?? this.totalCount,
      chatIds: chatIds ?? this.chatIds,
    );