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