Injector.fromModule constructor
Implementation
factory Injector.fromModule(
{required Module module, String? name, Injector? parent}) {
return Injector(
name: name, bindFunc: (bind) => bind.install(module), parent: parent);
}
factory Injector.fromModule(
{required Module module, String? name, Injector? parent}) {
return Injector(
name: name, bindFunc: (bind) => bind.install(module), parent: parent);
}