AccountAddressRestrictionTransactionV1 constructor
AccountAddressRestrictionTransactionV1({
- Signature? signature,
- PublicKey? signerPublicKey,
- int? version,
- NetworkType? network,
- TransactionType? type,
- Amount? fee,
- Timestamp? deadline,
- AccountRestrictionFlags? restrictionFlags,
- List<
UnresolvedAddress> ? restrictionAdditions, - List<
UnresolvedAddress> ? restrictionDeletions,
Implementation
AccountAddressRestrictionTransactionV1({
Signature? signature,
PublicKey? signerPublicKey,
int? version,
NetworkType? network,
TransactionType? type,
Amount? fee,
Timestamp? deadline,
AccountRestrictionFlags? restrictionFlags,
List<UnresolvedAddress>? restrictionAdditions,
List<UnresolvedAddress>? restrictionDeletions
}) {
this.signature = signature ?? Signature();
this.signerPublicKey = signerPublicKey ?? PublicKey();
this.version = version ?? AccountAddressRestrictionTransactionV1.TRANSACTION_VERSION;
this.network = network ?? NetworkType.MAINNET;
this.type = type ?? AccountAddressRestrictionTransactionV1.TRANSACTION_TYPE;
this.fee = fee ?? Amount();
this.deadline = deadline ?? Timestamp();
this.restrictionFlags = restrictionFlags ?? AccountRestrictionFlags.ADDRESS;
this.restrictionAdditions = restrictionAdditions ?? [];
this.restrictionDeletions = restrictionDeletions ?? [];
}