unauthenticatedDioProvider top-level property

AutoDisposeProviderFamily<Dio, RuutParameters> unauthenticatedDioProvider
final

Provides an instance of Dio

Implementation

final unauthenticatedDioProvider =
    Provider.family.autoDispose<Dio, RuutParameters>((ref, params) {
  return Dio(BaseOptions(baseUrl: params.baseUrl));
});