Skip to content

Commit 658b5a8

Browse files
committed
refactor(dependencies): remove unnecessary 'async' keyword
Remove 'async' from the 'init' method in AppDependencies class. The method no longer contains 'await' calls, making the 'async' keyword redundant. This change slightly optimizes the method definition without altering its functionality.
1 parent cd29d0c commit 658b5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/config/app_dependencies.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ class AppDependencies {
8181
/// Initializes all application dependencies.
8282
///
8383
/// This method is idempotent; it will only run the initialization logic once.
84-
Future<void> init() async {
84+
Future<void> init() {
8585
// If _initCompleter is not null, it means initialization is either in
8686
// progress or has already completed. Return its future to allow callers
8787
// to await the single, shared initialization process.

0 commit comments

Comments
 (0)