QueryCodesResponse.deserialize constructor

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

Implementation

factory QueryCodesResponse.deserialize(List<int> bytes) {
  final decode = CosmosProtoMessage.decode(bytes, protoConfigStatic());
  return QueryCodesResponse(
    codeInfos:
        decode
            .getListOfBytes(1)
            .map((b) => CodeInfoResponse.deserialize(b))
            .toList(),
  );
}