copyWith method

Chats copyWith({
  1. int? totalCount,
  2. List<int>? chatIds,
  3. dynamic extra,
  4. int? clientId,
})

Implementation

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