FlutterUpdater class

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

dispose() → void
释放回调
download({String url, bool forceCover, String savePath, dynamic callback(dynamic)}) → Future<void>
使用dart做文件下载处理
install(String path) → Future
发送命令给原生,执行安装
registerCallback({SuccessBlock successBlock, ProgressBlock progressBlock, FailureBlock failureBlock}) → void
注册回调
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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

Static Methods

instance() FlutterUpdater