ExUnits.deserialize constructor

ExUnits.deserialize(
  1. CborListValue<CborObject> cbor
)

Implementation

factory ExUnits.deserialize(CborListValue cbor) {
  return ExUnits(
      mem: cbor.elementAsInteger(0), steps: cbor.elementAsInteger(1));
}