copyWithWrapped method

CreditCategory copyWithWrapped({
  1. Wrapped<String>? primary,
  2. Wrapped<String>? detailed,
})

Implementation

CreditCategory copyWithWrapped(
    {Wrapped<String>? primary, Wrapped<String>? detailed}) {
  return CreditCategory(
      primary: (primary != null ? primary.value : this.primary),
      detailed: (detailed != null ? detailed.value : this.detailed));
}