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