getApp method

AppModel? getApp(
  1. String appId
)

Implementation

AppModel? getApp(String appId) {
  for (var app in apps) {
    if (app.app.documentID == appId) return app.app;
  }
  return null;
}