QueryBlockGasResponse.deserialize constructor

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

Implementation

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