Withdrawals.deserialize constructor

Withdrawals.deserialize(
  1. 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()
  });
}