finalizeSetup static method

Future<void> finalizeSetup()

Implementation

static Future<void> finalizeSetup() async {
  try {
    for (String key in _collections.keys) {
      await _collections[key].syncAllWithoutValidation();
    }

    for (String key in _collections.keys) {
      await _collections[key].syncAll();
    }
  } catch (e) {
    print(e);
  }
}