onUpdate method
Implementation
Future<void> onUpdate() async {
EasyDebounce.debounce('onUpdate', const Duration(milliseconds: 1000), () {
if (Platform.isIOS) {
doInstall();
return;
}
//重新下载 重置进度
_progress = 0;
// startTimer();
handleDownload();});
}