run method
Implementation
@override
Future<void> run(String ownerID) async {
var json = await getJson();
var tasks = await JsonToModelsHelper.createAppFromJson(
theApp, member!.documentID, json);
int i = 0;
for (var task in tasks) {
i++;
try {
await task();
} catch (e) {
print('Exception running task $i, error: $e');
}
}
appRepository(appId: theApp.documentID)!.flush();
}