copyWith method
Copy model with modified properties.
Properties:
link
: An internal link pointing to the chat
Implementation
@override
TargetChatInternalLink copyWith({
InternalLinkType? link,
}) =>
TargetChatInternalLink(
link: link ?? this.link,
);