AppStatus class

Constructors

AppStatus({bool updateRequired = false, bool updateAvailable = false, UpdatePrompt prompt = UpdatePrompt.none, int? remindAfterHours, String? minimumVersion, String? latestVersion, String? storeUrl, String? maintenanceMessage})
const
AppStatus.fromJson(Map<String, Object?> json)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
latestVersion → String?
final
maintenanceMessage → String?
Set while the app is down for maintenance.
final
minimumVersion → String?
final
prompt → UpdatePrompt
What to show for this version: nothing, a dismissible suggestion, or a blocking screen.
final
remindAfterHours → int?
With UpdatePrompt.recommend: hours before asking again once dismissed (0: at every launch).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storeUrl → String?
Where to update: the store link from the app settings.
final
updateAvailable → bool
A newer version is in the store.
final
updateRequired → bool
This version is older than the platform's minimum and the team requires the update (prompt is require).
final

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