assignTopicToLevel method
Assign a topic to a curriculum level (or null to unassign).
Implementation
Future<void> assignTopicToLevel(String topicId, String? levelId) async {
await _client
.from('topics')
.update({'curriculum_level_id': levelId})
.eq('id', topicId);
}