FlutterOtaUpdatePlatform class abstract
- Inheritance
-
- Object
- PlatformInterface
- FlutterOtaUpdatePlatform
- Implementers
Constructors
- FlutterOtaUpdatePlatform()
- Constructs a FlutterOtaUpdatePlatform.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
downloadAndInstall(
{required String url, required String fileName, Map< String, String> headers = const {}, String? sha256, void onProgress(int received, int total)?}) → Future<void> -
Downloads
urltofileName, verifies it againstsha256when given, and opens the system installer. Completes once the installer is shown. -
getAppVersion(
) → Future< String> -
The installed app's version name (e.g.
1.2.3). -
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
Static Properties
- instance ↔ FlutterOtaUpdatePlatform
-
The default instance of FlutterOtaUpdatePlatform to use.
getter/setter pair