EmbeddedTransferTransactionV1 constructor

EmbeddedTransferTransactionV1({
  1. PublicKey? signerPublicKey,
  2. int? version,
  3. NetworkType? network,
  4. TransactionType? type,
  5. UnresolvedAddress? recipientAddress,
  6. List<UnresolvedMosaic>? mosaics,
  7. Uint8List? message,
})

Implementation

EmbeddedTransferTransactionV1(
    {PublicKey? signerPublicKey,
    int? version,
    NetworkType? network,
    TransactionType? type,
    UnresolvedAddress? recipientAddress,
    List<UnresolvedMosaic>? mosaics,
    Uint8List? message}) {
  this.signerPublicKey = signerPublicKey ?? PublicKey();
  this.version = version ?? EmbeddedTransferTransactionV1.TRANSACTION_VERSION;
  this.network = network ?? NetworkType.MAINNET;
  this.type = type ?? EmbeddedTransferTransactionV1.TRANSACTION_TYPE;
  this.recipientAddress = recipientAddress ?? UnresolvedAddress();
  this.mosaics = mosaics ?? [];
  this.message = message ?? Uint8List(0);
}