EmbeddedAccountAddressRestrictionTransactionV1 constructor

EmbeddedAccountAddressRestrictionTransactionV1({
  1. PublicKey? signerPublicKey,
  2. int? version,
  3. NetworkType? network,
  4. TransactionType? type,
  5. AccountRestrictionFlags? restrictionFlags,
  6. List<UnresolvedAddress>? restrictionAdditions,
  7. List<UnresolvedAddress>? restrictionDeletions,
})

Implementation

EmbeddedAccountAddressRestrictionTransactionV1({
PublicKey? signerPublicKey,
int? version,
NetworkType? network,
TransactionType? type,
AccountRestrictionFlags? restrictionFlags,
List<UnresolvedAddress>? restrictionAdditions,
List<UnresolvedAddress>? restrictionDeletions
}) {
	this.signerPublicKey = signerPublicKey ?? PublicKey();
	this.version = version ?? EmbeddedAccountAddressRestrictionTransactionV1.TRANSACTION_VERSION;
	this.network = network ?? NetworkType.MAINNET;
	this.type = type ?? EmbeddedAccountAddressRestrictionTransactionV1.TRANSACTION_TYPE;
	this.restrictionFlags = restrictionFlags ?? AccountRestrictionFlags.ADDRESS;
	this.restrictionAdditions = restrictionAdditions ?? [];
	this.restrictionDeletions = restrictionDeletions ?? [];
}