serviceContext function
Bundles Dio + ApiEndpoints for use in all AppService subclasses.
Implementation
@Riverpod(keepAlive: true)
ServiceContext serviceContext(Ref ref) => ServiceContext(
dio: ref.watch(dioProvider),
endpoints: ref.watch(appConfigProvider).endpoints,
);