Created
January 7, 2023 15:38
-
-
Save FlutterWiz/1b536141443f98f5e6dd807672f12c8c to your computer and use it in GitHub Desktop.
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
@module | |
abstract class InjectableModule { | |
@singleton | |
Connectivity get connectivity => Connectivity(); | |
@singleton | |
AppRouter get appRouter => AppRouter(); | |
@lazySingleton | |
FirebaseAuth get firebaseAuth => FirebaseAuth.instance; | |
@lazySingleton | |
FirebaseFirestore get firestore => FirebaseFirestore.instance; | |
@lazySingleton | |
FirebaseStorage get firebaseStorage => FirebaseStorage.instance; | |
@singleton | |
StreamChatClient get streamChatClient => StreamChatClient(getstreamApiKey, logLevel: Level.INFO); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment