DartBridgeModelAssignment class
Model assignment bridge for C++ model assignment operations.
Matches Swift's CppBridge+ModelAssignment.swift.
Fetches model assignments from backend API and caches them. Provides filtering by framework and category.
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
-
clearCache(
) → void - Clear cache
-
fetchAssignments(
{bool forceRefresh = false}) → Future< List< ModelInfo> > - Fetch model assignments from backend
-
getByCategory(
int category) → Future< List< ModelInfo> > - Get assignments by category
-
getByFramework(
int framework) → Future< List< ModelInfo> > - Get assignments by framework
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setCacheTimeout(
int seconds) → void - Set cache timeout
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → DartBridgeModelAssignment
-
final
Static Methods
-
register(
{required SDKEnvironment environment, String? baseURL, String? accessToken}) → Future< void> - Register model assignment callbacks with C++
-
setAccessToken(
String? token) → void - Update access token