AccountKeyLinkTransactionV1 constructor

AccountKeyLinkTransactionV1({
  1. TransactionType? type,
  2. int? version,
  3. NetworkType? network,
  4. Timestamp? timestamp,
  5. PublicKey? signerPublicKey,
  6. Signature? signature,
  7. Amount? fee,
  8. Timestamp? deadline,
  9. LinkAction? linkAction,
  10. PublicKey? remotePublicKey,
})

Implementation

AccountKeyLinkTransactionV1({
TransactionType? type,
int? version,
NetworkType? network,
Timestamp? timestamp,
PublicKey? signerPublicKey,
Signature? signature,
Amount? fee,
Timestamp? deadline,
LinkAction? linkAction,
PublicKey? remotePublicKey
}) {
	this.type = type ?? AccountKeyLinkTransactionV1.TRANSACTION_TYPE;
	this.version = version ?? AccountKeyLinkTransactionV1.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.linkAction = linkAction ?? LinkAction.LINK;
	this.remotePublicKey = remotePublicKey ?? PublicKey();
}