QueryPendingQueriesResponse.deserialize constructor

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

Implementation

factory QueryPendingQueriesResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryPendingQueriesResponse(
    pendingQueries:
        decode
            .getListOfBytes(1)
            .map(
              (b) => stride_interchainquery_v1_genesis.Query.deserialize(b),
            )
            .toList(),
  );
}