TreasuryWithdrawals.deserialize constructor
TreasuryWithdrawals.deserialize(
- CborMapValue<
CborObject, CborObject> cbor
Implementation
factory TreasuryWithdrawals.deserialize(CborMapValue cbor) {
return TreasuryWithdrawals({
for (final i in cbor.valueAsMap<CborBytesValue, CborObject>().entries)
ADAAddress.deserialize(i.key): i.value.as<CborNumeric>().toBigInt()
});
}