copyWithWrapped method
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));
}