copyWithWrapped method
Implementation
Counterparty copyWithWrapped(
{Wrapped<String>? name, Wrapped<enums.CounterpartyType>? type}) {
return Counterparty(
name: (name != null ? name.value : this.name),
type: (type != null ? type.value : this.type));
}