initialize static method

Future<void> initialize(
  1. String path, {
  2. String? encryptionKey,
})

Implementation

static Future<void> initialize(String path, {String? encryptionKey}) async {
  initDependencies(path, encryptionKey: encryptionKey);
  _manager = injector.get<PreferencesManager>();
  await _manager.initialize();
}