ExUnits.deserialize constructor

ExUnits.deserialize(
  1. CborListValue cbor
)

Implementation

factory ExUnits.deserialize(CborListValue cbor) {
  return ExUnits(
      mem: cbor.getIndex<CborObject>(0).getInteger(),
      steps: cbor.getIndex<CborObject>(1).getInteger());
}