Withdrawals.deserialize constructor
Withdrawals.deserialize(
- CborMapValue cbor
Implementation
factory Withdrawals.deserialize(CborMapValue cbor) {
return Withdrawals({
for (final i
in cbor.cast<CborMapValue<CborObject, CborObject>>().value.entries)
ADAAddress.deserialize<ADARewardAddress>(i.key.cast()):
i.value.getInteger()
});
}