ADATransactionBuilder constructor
ADATransactionBuilder({
- required List<
ADAAccountUTXOResponse> utxos, - required List<
TransactionOutput> outputs, - List<
ADAMinsBuilder> mints = const [], - List<
ADADepositBuilder> deposits = const [], - List<
ADADepositBuilder> refundDeposits = const [], - List<
ADACertificateBuilder> certificates = const [], - GeneralTransactionMetadata? metadata,
Implementation
ADATransactionBuilder({
required this.utxos,
required List<TransactionOutput> outputs,
List<ADAMinsBuilder> mints = const [],
List<ADADepositBuilder> deposits = const [],
List<ADADepositBuilder> refundDeposits = const [],
final List<ADACertificateBuilder> certificates = const [],
this.metadata,
}) : _outputs = List<TransactionOutput>.unmodifiable(outputs),
mints = List<ADAMinsBuilder>.unmodifiable(mints),
deposits = List<ADADepositBuilder>.unmodifiable(deposits),
certificates = List<ADACertificateBuilder>.unmodifiable(certificates),
refundDeposits = List<ADADepositBuilder>.unmodifiable(refundDeposits);