eligible property

bool get eligible

Implementation

bool get eligible =>
    campaignLive &&
    productsLookedUp >= every &&
    !muted &&
    appLaunches >= minLaunches &&
    (lastShownAt == null || now.difference(lastShownAt!) >= gap);