mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 18:16:21 +00:00
Updated the curtain desgin and removed unused code
This commit is contained in:
@ -5,9 +5,8 @@ import 'package:syncrow_app/services/api/http_service.dart';
|
||||
|
||||
final GetIt serviceLocator = GetIt.instance;
|
||||
// setupLocator() // to search for dependency injection in flutter
|
||||
initialSetup({required String envName}) {
|
||||
initialSetup() {
|
||||
serviceLocator.registerSingleton<HTTPInterceptor>(HTTPInterceptor());
|
||||
//Base classes
|
||||
serviceLocator.registerSingleton<Dio>(HTTPService.setupDioClient());
|
||||
serviceLocator.registerSingleton<String>(envName);
|
||||
}
|
||||
|
Reference in New Issue
Block a user