addCoreInit static method
Implementation
static void addCoreInit(List<Bloc> blocs, List<Dependency> dependencies, String tagText) {
if (!_injectMap.containsKey(tagText)) {
if (BlocProvider.debugMode) {
print("BLOCPROVIDER START ($tagText)");
}
_injectMap[tagText] = Core(
blocs: blocs,
dependencies: dependencies,
tag: tagText,
// views: this.views,
);
} else {
if (BlocProvider.debugMode) {
print("BLOCPROVIDER START AGAIN ($tagText)");
}
_injectMapHelper[tagText] = Core(
blocs: blocs,
dependencies: dependencies,
tag: tagText,
// views: this.views,
);
}
}