copyWith method

FDXHateoasLink copyWith({
  1. String? href,
  2. FDXHateoasLinkAction? action,
  3. String? rel,
  4. List<FDXContentTypes>? types,
})

Implementation

FDXHateoasLink copyWith(
    {String? href,
    enums.FDXHateoasLinkAction? action,
    String? rel,
    List<enums.FDXContentTypes>? types}) {
  return FDXHateoasLink(
      href: href ?? this.href,
      action: action ?? this.action,
      rel: rel ?? this.rel,
      types: types ?? this.types);
}