copyWith method
Implementation
Counterparty copyWith({String? name, enums.CounterpartyType? type}) {
return Counterparty(name: name ?? this.name, type: type ?? this.type);
}
Counterparty copyWith({String? name, enums.CounterpartyType? type}) {
return Counterparty(name: name ?? this.name, type: type ?? this.type);
}