create static method
Implementation
static Future<LogRepository> create(String? dbPath) async {
dbPath ??= await _createDbPath();
var logsDatabase = await _createAndOpenLogsDb(dbPath);
return LogRepository._internal(logsDatabase);
}
static Future<LogRepository> create(String? dbPath) async {
dbPath ??= await _createDbPath();
var logsDatabase = await _createAndOpenLogsDb(dbPath);
return LogRepository._internal(logsDatabase);
}