MinimumAppLaunchesCondition class
The minimum app launches condition.
- Mixed in types
Constructors
- MinimumAppLaunchesCondition({required int minLaunches, required int remindLaunches})
- Creates a new minimum app launches condition instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMet → bool
-
Whether this condition is met.
no setteroverride
- launches ↔ int
-
Number of app launches.
getter/setter pair
- minLaunches → int
-
Minimum launches before being able to show the dialog.
final
- remindLaunches → int
-
Launches to subtract to the number of launches when the user clicks on "Maybe later".
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- valuesAsString → String
-
Gets the condition values in a readable string.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onEventOccurred(
RateMyAppEventType eventType) → bool -
Triggered when an even occurs in the plugin lifecycle.
Return true to save the shared preferences, false otherwise.
override
-
readFromPreferences(
SharedPreferences preferences, String preferencesPrefix) → void -
Reads the condition values from the specified shared preferences.
override
-
reset(
) → void -
Resets the condition values.
override
-
saveToPreferences(
SharedPreferences preferences, String preferencesPrefix) → Future< void> -
Saves the condition values to the specified shared preferences.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited