getApp method
Implementation
Future<AppModel?> getApp(String appId) async {
var app = await AbstractMainRepositorySingleton.singleton
.appRepository()!
.get(appId);
if (app == null) {
throw Exception('App with id $appId does not exist');
}
return app;
}