Created
June 7, 2021 23:59
-
-
Save diefferson/dcd43a128e5a4d01d934d8fbacf0e843 to your computer and use it in GitHub Desktop.
Stark Interfaces binding
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:stark/stark.dart'; | |
final theSimpleModule = { | |
single<Repository>((i) => MyRepository(i.get())), | |
factory<AuthUseCase>((i) => SocialAuthUseCase(i.get())), | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment