onTaskComplete method
任务执行完成
Implementation
void onTaskComplete(String taskId, dynamic result) {
final ctx = getContext(taskId);
if (ctx != null) {
ctx.markCompleted(result);
_scheduleProgressUpdate();
}
}
任务执行完成
void onTaskComplete(String taskId, dynamic result) {
final ctx = getContext(taskId);
if (ctx != null) {
ctx.markCompleted(result);
_scheduleProgressUpdate();
}
}