QueryCurrentEpochResponse.deserialize constructor

QueryCurrentEpochResponse.deserialize(
  1. List<int> bytes
)

Implementation

factory QueryCurrentEpochResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryCurrentEpochResponse(
    currentEpoch: decode.getBigInt<BigInt?>(1),
  );
}