getComponentSelectorQuery function

EliudQuery getComponentSelectorQuery(
  1. int privilegeLevel,
  2. String appId
)

Implementation

EliudQuery getComponentSelectorQuery(int privilegeLevel, String appId) {
  return EliudQuery()
      .withCondition(
        EliudQueryCondition('conditions.privilegeLevelRequired',
            isEqualTo: privilegeLevel),
      )
      .withCondition(
        EliudQueryCondition('appId', isEqualTo: appId),
      );
}