deleteRecord method

  1. @override
Future<void> deleteRecord(
  1. String tableName,
  2. dynamic id
)
override

Implementation

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