getOpenNotificationsQuery static method

EliudQuery getOpenNotificationsQuery(
  1. String? appId,
  2. String? assigneeId
)

Implementation

static EliudQuery getOpenNotificationsQuery(
    String? appId, String? assigneeId) {
  return EliudQuery(theConditions: [
    EliudQueryCondition('assigneeId', isEqualTo: assigneeId),
    EliudQueryCondition('appId', isEqualTo: appId),
    EliudQueryCondition('status', isEqualTo: NotificationStatus.open.index)
  ]);
}