allProgress function

  1. @riverpod
Future<List<UserTopicProgressModel>> allProgress(
  1. Ref<Object?> ref
)

All progress rows for the current user (used by progress dashboard).

Implementation

@riverpod
Future<List<UserTopicProgressModel>> allProgress(Ref ref) async {
  final ds = ref.watch(supabaseDatasourceProvider);
  return ds.getAllProgress();
}