NonVerifiableTransaction constructor
NonVerifiableTransaction({
- TransactionType? type,
- int? version,
- NetworkType? network,
- Timestamp? timestamp,
- PublicKey? signerPublicKey,
- Amount? fee,
- Timestamp? deadline,
Implementation
NonVerifiableTransaction({
TransactionType? type,
int? version,
NetworkType? network,
Timestamp? timestamp,
PublicKey? signerPublicKey,
Amount? fee,
Timestamp? deadline
}) {
this.type = type ?? TransactionType.TRANSFER;
this.version = version ?? 0;
this.network = network ?? NetworkType.MAINNET;
this.timestamp = timestamp ?? Timestamp();
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.fee = fee ?? Amount();
this.deadline = deadline ?? Timestamp();
}