nextReviewDate function

  1. @riverpod
Future<DateTime?> nextReviewDate(
  1. Ref<Object?> ref
)

Implementation

@riverpod
Future<DateTime?> nextReviewDate(Ref ref) async {
  final ds = ref.watch(supabaseDatasourceProvider);
  return ds.getNextReviewDate();
}