copyWith method
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g. field: () => null to clear it.
Implementation
GetUserLink copyWith({
bool? removeMessagesFee,
bool? returnPermanentLink,
bool? revokePreviousLinks,
}) => GetUserLink(
removeMessagesFee: removeMessagesFee ?? this.removeMessagesFee,
returnPermanentLink: returnPermanentLink ?? this.returnPermanentLink,
revokePreviousLinks: revokePreviousLinks ?? this.revokePreviousLinks,
);