QueryOpenInterestResponse.deserialize constructor
Implementation
factory QueryOpenInterestResponse.deserialize(List<int> bytes) {
final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
return QueryOpenInterestResponse(
amount: decode.messageTo<OpenInterest?>(
1,
(b) => OpenInterest.deserialize(b),
),
);
}