dio function

  1. @Riverpod.new(keepAlive: true)
Dio dio(
  1. Ref ref
)

The shared authenticated Dio instance, owned by AuthController.

Implementation

@Riverpod(keepAlive: true)
Dio dio(Ref ref) {
  return ref.watch(authControllerProvider.notifier).dio;
}