NamespaceRegistrationTransactionV1 constructor

NamespaceRegistrationTransactionV1({
  1. Signature? signature,
  2. PublicKey? signerPublicKey,
  3. int? version,
  4. NetworkType? network,
  5. TransactionType? type,
  6. Amount? fee,
  7. Timestamp? deadline,
  8. BlockDuration? duration,
  9. NamespaceId? parentId,
  10. NamespaceId? id,
  11. NamespaceRegistrationType? registrationType,
  12. Uint8List? name,
})

Implementation

NamespaceRegistrationTransactionV1({
Signature? signature,
PublicKey? signerPublicKey,
int? version,
NetworkType? network,
TransactionType? type,
Amount? fee,
Timestamp? deadline,
BlockDuration? duration,
NamespaceId? parentId,
NamespaceId? id,
NamespaceRegistrationType? registrationType,
Uint8List? name
}) {
	this.signature = signature ?? Signature();
	this.signerPublicKey = signerPublicKey ?? PublicKey();
	this.version = version ?? NamespaceRegistrationTransactionV1.TRANSACTION_VERSION;
	this.network = network ?? NetworkType.MAINNET;
	this.type = type ?? NamespaceRegistrationTransactionV1.TRANSACTION_TYPE;
	this.fee = fee ?? Amount();
	this.deadline = deadline ?? Timestamp();
	this.duration = duration ?? BlockDuration();
	this.parentId = parentId ?? null;
	this.id = id ?? NamespaceId();
	this.registrationType = registrationType ?? NamespaceRegistrationType.ROOT;
	this.name = name ?? Uint8List(0);
}