gamificationEnabled function

  1. @riverpod
Future<bool> gamificationEnabled(
  1. Ref<Object?> ref,
  2. String orgId
)

Implementation

@riverpod
Future<bool> gamificationEnabled(Ref ref, String orgId) async {
  final ds = ref.watch(orgDatasourceProvider);
  return ds.isGamificationEnabled(orgId);
}