Module class abstract
A module to configure injection bindings.
- Implemented types
- Implementers
Constructors
-
Module.compose(Iterable<
Module> modules) -
Creates a Module resulting in the merge of the given modules.
You can also compose modules using Binder.install in your Module.configure.
factory
- Module.empty()
-
Creates an empty Module.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
configure(
Binder binder) → void -
Used to configure all the dependencies.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited