Singleton<T> class
A dependency will be create immediately when an instance of this class is created
Properties
- autoRemove → bool
-
set this value to true when you want to remove
this dependency when the route who creates this dependency
is popped
finalinherited
- creatorName → String?
-
the route name who creates this instance
finalinherited
- dependency → T
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onRemove
→ _RemoveCallback<
T> ? -
callback to be called when this dependency is removed
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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