copyWith method
Implementation
@override
LinkModel copyWith({
String? documentID,
String? linkText,
ActionModel? action,
}) {
return LinkModel(
documentID: documentID ?? this.documentID,
linkText: linkText ?? this.linkText,
action: action ?? this.action,
);
}