DonationReminderConditions class

The five conditions that gate the donation reminder sheet, computed once per product page so PopScope.canPop never re-evaluates mid-visit.

Constructors

DonationReminderConditions({required bool campaignLive, required int productsLookedUp, required int every, required bool muted, required int appLaunches, required DateTime? lastShownAt, required DateTime now})
const

Properties

appLaunches → int
final
campaignLive → bool
final
eligible → bool
no setter
every → int
final
hashCode → int
The hash code for this object.
no setterinherited
lastShownAt → DateTime?
final
muted → bool
final
now → DateTime
final
productsLookedUp → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

gap → const Duration
minLaunches → const int
Reminders never fire in the install session, however many products a user looks up before the app counts a second launch.