EmbeddedAccountAddressRestrictionTransactionV1 constructor
EmbeddedAccountAddressRestrictionTransactionV1({
- PublicKey? signerPublicKey,
- int? version,
- NetworkType? network,
- TransactionType? type,
- AccountRestrictionFlags? restrictionFlags,
- List<
UnresolvedAddress> ? restrictionAdditions, - 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 ?? [];
}