copyWithWrapped method
FDXHateoasLink
copyWithWrapped({
- Wrapped<
String> ? href, - Wrapped<
FDXHateoasLinkAction?> ? action, - Wrapped<
String?> ? rel, - Wrapped<
List< ? types,FDXContentTypes> ?>
Implementation
FDXHateoasLink copyWithWrapped(
{Wrapped<String>? href,
Wrapped<enums.FDXHateoasLinkAction?>? action,
Wrapped<String?>? rel,
Wrapped<List<enums.FDXContentTypes>?>? types}) {
return FDXHateoasLink(
href: (href != null ? href.value : this.href),
action: (action != null ? action.value : this.action),
rel: (rel != null ? rel.value : this.rel),
types: (types != null ? types.value : this.types));
}