presentation/providers/billing_providers library

Classes

OrgSubscriptionFamily
Current active subscription for an organization, or null if on trial.
OrgSubscriptionProvider
Current active subscription for an organization, or null if on trial.

Mixins

OrgSubscriptionRef

Constants

orgSubscriptionProvider → const OrgSubscriptionFamily
Current active subscription for an organization, or null if on trial.

Properties

billingDatasourceProvider Provider<BillingDatasource>
See also billingDatasource.
final
mySubscriptionProvider AutoDisposeFutureProvider<Subscription?>
Current active subscription for the signed-in user (solo pro), or null.
final

Functions

billingDatasource(Ref<Object?> ref) BillingDatasource
mySubscription(Ref<Object?> ref) Future<Subscription?>
Current active subscription for the signed-in user (solo pro), or null.
orgSubscription(Ref<Object?> ref, String orgId) Future<Subscription?>
Current active subscription for an organization, or null if on trial.

Typedefs

BillingDatasourceRef = ProviderRef<BillingDatasource>
MySubscriptionRef = AutoDisposeFutureProviderRef<Subscription?>