initialize method

Future<bool> initialize()

Implementation

Future<bool> initialize() async {
  final collectionNames = await _harnFile.list();
  final futures = <Future>[];
  for (final collectionName in collectionNames) {
    futures.add(_loadCollection(collectionName.split(".")[0]));
  }
  await Future.wait(futures);
  return true;
}