UpdateManager class
Constructors
- UpdateManager({required PackageInfo packageInfo, bool enableShorebird = false, UpdateManagerCallback? onUpdate, ShorebirdStatusCallback? onShorebirdStatusChange, UpdateUIConfig? uiConfig, BuildContext? context})
Properties
- context → BuildContext?
-
final
- currentTrackType ↔ UpdateTrackType
-
getter/setter pair
- enableShorebird → bool
-
final
- hasActiveUI → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- onShorebirdStatusChange → ShorebirdStatusCallback?
-
final
- onUpdate → UpdateManagerCallback?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shorebirdService → ShorebirdService?
-
no setter
- shorebirdStatus → ShorebirdUpdateStatus
-
no setter
- uiConfig → UpdateUIConfig?
-
final
- updateTypeStatus → UpdateType
-
no setter
Methods
-
checkShorebirdPatch(
{UpdateTrackType track = UpdateTrackType.stable}) → Future< void> -
dismissAllUpdateUI(
) → void -
dismissPatchUI(
) → void -
dismissStoreUpdateUI(
) → void -
downloadShorebirdPatch(
{UpdateTrackType track = UpdateTrackType.stable}) → Future< void> -
handleUpdateReverted(
) → void -
initialise(
{UpdateTrackType updateTrackType = UpdateTrackType.stable}) → Future< void> -
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