MoveInstantaneousReward.fromCborBytes constructor

MoveInstantaneousReward.fromCborBytes(
  1. List<int> cborBytes
)

Constructs a MoveInstantaneousReward object from its CBOR byte representation.

Implementation

factory MoveInstantaneousReward.fromCborBytes(List<int> cborBytes) {
  return MoveInstantaneousReward.deserialize(
      CborObject.fromCbor(cborBytes).cast());
}