setup method

Future<void> setup()

Implementation

Future<void> setup() async {
  _all = await _loadModels();

  List<T> models = [];

  models.addAll(_all.values);

  for (T model in models) {
    await _addToIndex(model);
  }
}