IInitializable class abstract
When a service implements this interface, the method initialize
will be called when the ServiceProvider
instantiates a new instance
If the service is registered as transient, this method will run each time the service is fetched by optional
or requires
If the service is registered as singleton, this method will only run one time when the service is fetched
Constructors
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
-
initialize(
) → void -
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