ensureModelReady method
Ensures a model is ready for use, handling all necessary operations
Implementation
@override
Future<void> ensureModelReady(String filename, String url) async {
// Create spec from legacy parameters and delegate to internal method
final spec = InferenceModelSpec(
name: filename,
modelUrl: url,
);
await _ensureModelReadySpec(spec);
// Set as current active model after ensuring it's ready
_currentActiveModel = spec;
}