copyWith method

ChatInviteLinks copyWith({
  1. int? totalCount,
  2. List<ChatInviteLink>? inviteLinks,
})

Implementation

ChatInviteLinks copyWith({
  int? totalCount,
  List<ChatInviteLink>? inviteLinks,
}) => ChatInviteLinks(
  totalCount: totalCount ?? this.totalCount,
  inviteLinks: inviteLinks ?? this.inviteLinks,
);