PatchingProgressProviderState class

Provides the current PatchingProgress.

NOTE: Resolves to null if no patching is in progress.

Inheritance

Constructors

PatchingProgressProviderState(PatcherService patcherService, ReleaseRepository releaseRepository)
Provides the current PatchingProgress.

Properties

debugState → PatchingProgress?
A development-only way to access state outside of StateNotifier.
read-onlyinherited
hashCode → int
The hash code for this object.
read-onlyinherited
hasListeners → bool
If a listener has been added using addListener and hasn't been removed yet.
read-onlyinherited
mounted → bool
Whether dispose was called or not.
read-onlyinherited
onError ↔ ErrorListener?
A callback for error reporting if one of the listeners added with addListener throws.
read / writeinherited
patcherService → PatcherService
The PatcherService instance to use for patching.
final
releaseRepository → ReleaseRepository
The ReleaseRepository instance to use for fetching releases.
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
state ↔ PatchingProgress?
The current "state" of this StateNotifier.
read / writeinherited
stream → Stream<PatchingProgress?>
A broadcast stream representation of a StateNotifier.
read-onlyinherited

Methods

addListener(Listener<PatchingProgress?> listener, {bool fireImmediately = true}) → RemoveListener
Subscribes to this object.
inherited
dispose() → void
Frees all the resources associated with this object.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch() → Future<void>
Starts patching the current app.
toString() → String
A string representation of this object.
inherited
updateShouldNotify(PatchingProgress? old, PatchingProgress? current) → bool
Whether to notify listeners or not when state changes
inherited

Operators

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