ToOtherPot.deserialize constructor

ToOtherPot.deserialize(
  1. CborNumeric cbor
)

Deserializes a ToOtherPot MIR object from its CBOR representation.

Implementation

factory ToOtherPot.deserialize(CborNumeric cbor) {
  return ToOtherPot(cbor.getInteger());
}