ModuleImpl<T> class

implementation of the init method from Module used in ProviderBuilder for easy module creation

Inheritance

Constructors

ModuleImpl(dynamic onInit(Provider))

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
onInit → dynamic Function(Provider)
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type Type
read-only, inherited

Methods

init(Provider provider) → dynamic
called when assembly from ProviderBuilder awaiting return T or Future with T can await Future and adding T from result
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited