Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate BenchmarkService into main.dart with Provider
This commit integrates the `BenchmarkService` into the main application setup through the `MultiProvider` in `main.dart`. The changes include: 1. Adding `BenchmarkService` to the list of service providers, allowing it to be accessible throughout the application via dependency injection. 2. Using `ProxyProvider` to ensure `BenchmarkService` gets the `RestApiUtility` instance as a dependency. 3. Modifying the `MyApp` class to fetch the `BenchmarkService` from the provider, making it ready for use in the application's lifecycle. This addition allows `BenchmarkService` to be centrally managed and readily available for any part of the application that requires benchmark-related functionalities.
- Loading branch information