AggregateCompleteTransactionV3 constructor

AggregateCompleteTransactionV3({
  1. Signature? signature,
  2. PublicKey? signerPublicKey,
  3. int? version,
  4. NetworkType? network,
  5. TransactionType? type,
  6. Amount? fee,
  7. Timestamp? deadline,
  8. Hash256? transactionsHash,
  9. List<IInnerTransaction>? transactions,
  10. List<Cosignature>? cosignatures,
})

Implementation

AggregateCompleteTransactionV3(
    {Signature? signature,
    PublicKey? signerPublicKey,
    int? version,
    NetworkType? network,
    TransactionType? type,
    Amount? fee,
    Timestamp? deadline,
    Hash256? transactionsHash,
    List<IInnerTransaction>? transactions,
    List<Cosignature>? cosignatures}) {
  this.signature = signature ?? Signature();
  this.signerPublicKey = signerPublicKey ?? PublicKey();
  this.version =
      version ?? AggregateCompleteTransactionV3.TRANSACTION_VERSION;
  this.network = network ?? NetworkType.MAINNET;
  this.type = type ?? AggregateCompleteTransactionV3.TRANSACTION_TYPE;
  this.fee = fee ?? Amount();
  this.deadline = deadline ?? Timestamp();
  this.transactionsHash = transactionsHash ?? Hash256();
  this.transactions = transactions ?? [];
  this.cosignatures = cosignatures ?? [];
}