WebModelSourceResolver.forActiveModel constructor

WebModelSourceResolver.forActiveModel()

Builds a resolver backed by a fresh WebModelManager, which rehydrates the active model from persisted prefs. Lets an engine package construct the resolver without a FlutterGemmaWeb instance.

Implementation

factory WebModelSourceResolver.forActiveModel() =>
    WebModelSourceResolver(WebModelManager());