StakeRegistration.deserialize constructor
StakeRegistration.deserialize(
- CborListValue<
CborObject> cbor
Deserializes a StakeRegistration object from its CBOR representation.
Implementation
factory StakeRegistration.deserialize(CborListValue cbor) {
CertificateType.deserialize(cbor.elementAt<CborIntValue>(0),
validate: CertificateType.stakeRegistration);
return StakeRegistration(
Credential.deserialize(cbor.elementAt<CborListValue>(1)));
}