MIRPot.deserialize constructor

MIRPot.deserialize(
  1. CborIntValue cbor
)

Deserializes a MIRPot object from its CBOR representation.

Implementation

factory MIRPot.deserialize(CborIntValue cbor) {
  return fromValue(cbor.value);
}