QueryChannelsRequest.deserialize constructor

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

Implementation

factory QueryChannelsRequest.deserialize(List<int> bytes) {
  final decode = CosmosProtocolBuffer.decode(bytes);
  return QueryChannelsRequest(
      pagination: decode
          .getResult(1)
          ?.to<PageRequest, List<int>>((e) => PageRequest.deserialize(e)));
}