ADATransactionBuilder constructor

ADATransactionBuilder({
  1. required List<ADAAccountUTXOResponse> utxos,
  2. required List<TransactionOutput> outputs,
  3. List<ADAMinsBuilder> mints = const [],
  4. List<ADADepositBuilder> deposits = const [],
  5. List<ADADepositBuilder> refundDeposits = const [],
  6. List<ADACertificateBuilder> certificates = const [],
  7. 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);