EmbeddedNamespaceRegistrationTransactionV1 constructor

EmbeddedNamespaceRegistrationTransactionV1({
  1. PublicKey? signerPublicKey,
  2. int? version,
  3. NetworkType? network,
  4. TransactionType? type,
  5. BlockDuration? duration,
  6. NamespaceId? parentId,
  7. NamespaceId? id,
  8. NamespaceRegistrationType? registrationType,
  9. Uint8List? name,
})

Implementation

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