deleteRecord method
Implementation
@override
Future<void> deleteRecord(String tableName, dynamic id) async {
final accessor = collections[tableName];
if (accessor == null) throw Exception('Collection $tableName not found');
await isar.writeTxn(() async {
await accessor.deleteRecord(id);
});
}