PatcherService class abstract

Base class for all patcher services.

A patcher service is responsible for downloading and installing updates.

NOTE: Depending on the way the app was installed, updates may have to be installed manually. In this case canPatch will return false.

Implementers

Constructors

PatcherService()

Properties

canPatch → bool
Whether the app can be patched automatically.
read-only
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

getInstructions(BuildContext context, Release release) → String
Returns the instructions for manually installing a given release in markdown format.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Release release, {void onProgress(double progress)?}) → Future<void>
Downloads and installs a given release.
toString() → String
A string representation of this object.
inherited

Operators

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