EmbeddedNamespaceRegistrationTransactionV1 constructor
EmbeddedNamespaceRegistrationTransactionV1({
- PublicKey? signerPublicKey,
- int? version,
- NetworkType? network,
- TransactionType? type,
- BlockDuration? duration,
- NamespaceId? parentId,
- NamespaceId? id,
- NamespaceRegistrationType? registrationType,
- 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);
}