QueryAggregateVolumesRequest.deserialize constructor

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

Implementation

factory QueryAggregateVolumesRequest.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryAggregateVolumesRequest(
    accounts: decode.getListOrEmpty<String>(1),
    marketIds: decode.getListOrEmpty<String>(2),
  );
}