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