Link constructor
Link({
- LinkType? type,
- String? url,
- String? translationKey,
- LinkTarget? target,
Implementation
factory Link({
LinkType? type,
$core.String? url,
$core.String? translationKey,
LinkTarget? target,
}) {
final result = Link._();
if (type != null) result.type = type;
if (url != null) result.url = url;
if (translationKey != null) result.translationKey = translationKey;
if (target != null) result.target = target;
return result;
}