initialize method
Implementation
initialize(String? path) async
{
bool ok = false;
try
{
Log().info('Initializing Database at Path: $path');
this.path = path;
encryptionKey = encryptionKey;
if (path != null) Hive.init(path);
ok = true;
}
catch(e)
{
ok = false;
Log().exception(e, caller: "database -> initialize(String? path) async");
}
_initialized = true;
return ok;
}