Last active
June 8, 2021 00:36
-
-
Save diefferson/bdaa7d041ab9c13478592b56369b224b to your computer and use it in GitHub Desktop.
Stark named
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 myModule = { | |
single((i) => Api(), named: "DEFAULT"), | |
single((i) => Api(), named: "EXTERNAL"), | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment