copy method
PolyTransaction
copy({
- List<
SimpleRecipient> ? recipients, - List<
ToplAddress> ? from, - String? propositionType,
- ToplAddress? changeAddress,
- PolyAmount? fee,
- Latin1Data? data,
Implementation
PolyTransaction copy(
{List<SimpleRecipient>? recipients,
List<ToplAddress>? from,
String? propositionType,
ToplAddress? changeAddress,
PolyAmount? fee,
Latin1Data? data}) {
return PolyTransaction(
propositionType: propositionType ?? this.propositionType,
sender: from ?? sender,
recipients: recipients ?? this.recipients,
changeAddress: changeAddress ?? this.changeAddress,
fee: fee,
data: data);
}