EmbeddedTransaction constructor

EmbeddedTransaction({
  1. PublicKey? signerPublicKey,
  2. int? version,
  3. NetworkType? network,
  4. 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;
}