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