EmbeddedTransaction constructor
EmbeddedTransaction({
- PublicKey? signerPublicKey,
- int? version,
- NetworkType? network,
- TransactionType? type,
Implementation
EmbeddedTransaction({ PublicKey? signerPublicKey, int? version, NetworkType? network, TransactionType? type}) {
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.version = version ?? 0;
this.network = network ?? NetworkType.MAINNET;
this.type = type ?? TransactionType.ACCOUNT_KEY_LINK;
}