aiQuotaProvider top-level property

  1. @ProviderFor.new(aiQuota)
AutoDisposeFutureProvider<AiQuotaSnapshot> aiQuotaProvider
final

Fetch the current user's AI usage + plan caps.

Reads rate_limits for the rolling day/week counters (and all-time total for trial users) and current_entitlements() for the per-plan caps. Returns zeros when signed out so UI code can render without auth guards.

Copied from aiQuota.

Implementation

@ProviderFor(aiQuota)
final aiQuotaProvider = AutoDisposeFutureProvider<AiQuotaSnapshot>.internal(
  aiQuota,
  name: r'aiQuotaProvider',
  debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
      ? null
      : _$aiQuotaHash,
  dependencies: null,
  allTransitiveDependencies: null,
);