TransferTransactionV2 constructor
TransferTransactionV2({
- TransactionType? type,
- int? version,
- NetworkType? network,
- Timestamp? timestamp,
- PublicKey? signerPublicKey,
- Signature? signature,
- Amount? fee,
- Timestamp? deadline,
- Address? recipientAddress,
- Amount? amount,
- Message? message,
- List<
SizePrefixedMosaic> ? mosaics,
Implementation
TransferTransactionV2({
TransactionType? type,
int? version,
NetworkType? network,
Timestamp? timestamp,
PublicKey? signerPublicKey,
Signature? signature,
Amount? fee,
Timestamp? deadline,
Address? recipientAddress,
Amount? amount,
Message? message,
List<SizePrefixedMosaic>? mosaics
}) {
this.type = type ?? TransferTransactionV2.TRANSACTION_TYPE;
this.version = version ?? TransferTransactionV2.TRANSACTION_VERSION;
this.network = network ?? NetworkType.MAINNET;
this.timestamp = timestamp ?? Timestamp();
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.signature = signature ?? Signature();
this.fee = fee ?? Amount();
this.deadline = deadline ?? Timestamp();
this.recipientAddress = recipientAddress ?? Address();
this.amount = amount ?? Amount();
this.message = message ?? null;
this.mosaics = mosaics ?? [];
}