PortalRepository class

Manages the NTUT Portal application catalog and app-local favorites.

Constructors

PortalRepository({required PortalService portalService, required AppDatabase database, required AuthRepository authRepository})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
refreshApplicationCatalog() Future<void>
Fetches the complete catalog and atomically synchronizes the local cache.
setApplicationFavorite({required String applicationCode, required bool isFavorite}) Future<void>
Sets one app-local favorite without changing NTUT Portal bookmarks.
toString() String
A string representation of this object.
inherited
watchApplicationCatalog() Stream<List<PortalApplicationCategoryData>>
Watches the current user's cached application catalog.

Operators

operator ==(Object other) bool
The equality operator.
inherited