getByPath method Null safety
- String path
Gets a backup registry by its path.
Implementation
BackupModel? getByPath(String path) {
List<BackupModel> bkups = _select(whereStmt: "WHERE $columnPath = '$path'");
return bkups.isNotEmpty ? bkups.first : null;
}