initialize static method
Implementation
static Future<bool> initialize(String? path, {List<int>? encryptionKey}) async {
try
{
Log().info('Initializing Database at Path: $path');
Hive.init(path);
_initialized.complete(true);
}
catch (e) {
Log().exception(e, caller: "database -> initialize(String? path) async");
}
return _initialized.isCompleted;
}