EmbeddedHashLockTransactionV1 constructor
EmbeddedHashLockTransactionV1({
- PublicKey? signerPublicKey,
- int? version,
- NetworkType? network,
- TransactionType? type,
- UnresolvedMosaic? mosaic,
- BlockDuration? duration,
- Hash256? hash,
Implementation
EmbeddedHashLockTransactionV1({
PublicKey? signerPublicKey,
int? version,
NetworkType? network,
TransactionType? type,
UnresolvedMosaic? mosaic,
BlockDuration? duration,
Hash256? hash
}) {
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.version = version ?? EmbeddedHashLockTransactionV1.TRANSACTION_VERSION;
this.network = network ?? NetworkType.MAINNET;
this.type = type ?? EmbeddedHashLockTransactionV1.TRANSACTION_TYPE;
this.mosaic = mosaic ?? UnresolvedMosaic();
this.duration = duration ?? BlockDuration();
this.hash = hash ?? Hash256();
}