CertificateType class
Represents the type of a certificate.
- Mixed in types
Constructors
- CertificateType.deserialize(CborIntValue cbor, {CertificateType? validate})
-
Constructs a CertificateType from a serialized value.
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → List< int> -
Serializes the object to CBOR bytes.
inherited
-
serializeHex(
) → String -
Serializes the object to hexadecimal string.
inherited
-
toCbor(
) → CborObject -
Converts the object to a CBOR object.
override
-
toJson(
) → String -
Converts the object to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromName(
String? name) → CertificateType - Retrieves a CertificateType based on its name.
-
fromValue(
int? value) → CertificateType - Retrieves a CertificateType based on its value.
Constants
- genesisKeyDelegation → const CertificateType
- Certificate type for genesis key delegation.
- moveInstantaneousRewardsCert → const CertificateType
- Certificate type for moving instantaneous rewards.
- poolRegistration → const CertificateType
- Certificate type for pool registration.
- poolRetirement → const CertificateType
- Certificate type for pool retirement.
- stakeDelegation → const CertificateType
- Certificate type for stake delegation.
- stakeDeregistration → const CertificateType
- Certificate type for stake deregistration.
- stakeRegistration → const CertificateType
- Certificate type for stake registration.
-
values
→ const List<
CertificateType> - List of all certificate types.