setup method
Implementation
Future<void> setup() async {
_all = await _loadModels();
List<T> models = [];
models.addAll(_all.values);
for (T model in models) {
await _addToIndex(model);
}
}
Future<void> setup() async {
_all = await _loadModels();
List<T> models = [];
models.addAll(_all.values);
for (T model in models) {
await _addToIndex(model);
}
}