totalCardCount function

  1. @riverpod
Future<int> totalCardCount(
  1. Ref<Object?> ref
)

Implementation

@riverpod
Future<int> totalCardCount(Ref ref) async {
  final ds = ref.watch(supabaseDatasourceProvider);
  return ds.getTotalCardCount();
}