copyWith method

ChatInviteLinkCount copyWith({
  1. int? userId,
  2. int? inviteLinkCount,
  3. int? revokedInviteLinkCount,
})

Implementation

ChatInviteLinkCount copyWith({
  int? userId,
  int? inviteLinkCount,
  int? revokedInviteLinkCount,
}) => ChatInviteLinkCount(
  userId: userId ?? this.userId,
  inviteLinkCount: inviteLinkCount ?? this.inviteLinkCount,
  revokedInviteLinkCount: revokedInviteLinkCount ?? this.revokedInviteLinkCount,
);