21 lines
741 B
Dart
21 lines
741 B
Dart
// import 'package:baseproject/core/common/custom_interceptor.dart';
|
|
// import 'package:baseproject/core/components/alice.dart';
|
|
// import 'package:baseproject/features/presentation/app/view/app.dart';
|
|
// import 'package:dio/dio.dart';
|
|
// import 'package:flutter/foundation.dart';
|
|
// import 'package:injectable/injectable.dart';
|
|
|
|
// @module
|
|
// abstract class RegisterCommonModule {
|
|
// @lazySingleton
|
|
// Dio get dio => Dio()
|
|
// ..interceptors.addAll(kDebugMode
|
|
// ? [CustomInterceptor(), CustomAlice.setAndGetAlice(navigatorKey).getDioInterceptor()]
|
|
// : [CustomInterceptor()])
|
|
// ..options = BaseOptions(
|
|
// receiveTimeout: 10000,
|
|
// connectTimeout: 10000,
|
|
// sendTimeout: 10000,
|
|
// );
|
|
// }
|