MethodChannelDesktopUpdater class
An implementation of DesktopUpdaterPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- DesktopUpdaterPlatform
- MethodChannelDesktopUpdater
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generateFileHashes(
{String? path}) → Future< void> -
inherited
-
getCurrentVersion(
) → Future< String?> -
override
-
getExecutablePath(
) → Future< String?> -
override
-
getPlatformVersion(
) → Future< String?> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareUpdateApp(
{required String remoteUpdateFolder}) → Future< List< FileHashModel?> > -
inherited
-
restartApp(
) → Future< void> -
override
-
sayHello(
) → Future< String?> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
updateApp(
{required String remoteUpdateFolder}) → Future< void> -
override
-
verifyFileHash(
String oldHashFilePath, String newHashFilePath) → Future< List< FileHashModel?> > -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited