mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-11-27 10:54:55 +00:00
@ -5,7 +5,7 @@ import 'package:syncrow_web/services/api/http_service.dart';
|
||||
|
||||
final GetIt serviceLocator = GetIt.instance;
|
||||
//setupLocator() // to search for dependency injection in flutter
|
||||
void initialSetup() {
|
||||
initialSetup() {
|
||||
serviceLocator.registerSingleton<HTTPInterceptor>(HTTPInterceptor());
|
||||
//Base classes
|
||||
serviceLocator.registerSingleton<Dio>(HTTPService.setupDioClient());
|
||||
|
||||
Reference in New Issue
Block a user