Update.deserialize constructor

Update.deserialize(
  1. CborListValue cbor
)

Implementation

factory Update.deserialize(CborListValue cbor) {
  return Update(
      epoch: cbor.getIndex(1),
      proposedProtocolParameterUpdates:
          ProposedProtocolParameterUpdates.deserialize(cbor.getIndex(0)));
}