entitlementDatasource function

  1. @Riverpod(keepAlive: true)
EntitlementDatasource entitlementDatasource(
  1. Ref ref
)

Singleton datasource wrapping the Supabase client.

Implementation

@Riverpod(keepAlive: true)
EntitlementDatasource entitlementDatasource(Ref ref) {
  return EntitlementDatasource(Supabase.instance.client);
}