ToorMutableLocator<T> class abstract

ToorLocator with methods to change the current value.

Inheritance
Available extensions

Constructors

ToorMutableLocator()
const

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

call() → T
Makes instances of ToorLocator callable by implementing the function interface.
inherited
get() → T
Retrieves or creates the instance registered in this ToorLocator.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
override(FactoryFunc<T> factoryFunc) → void

Available on ToorLocator<T>, provided by the ToorLocatorOverrider extension

put(T value) → void
Change the current value of the locator.
reset() → void
If this locator is a lazy singleton, the current instance will be deleted, and a new one will be called on the next get call.
inherited
toString() String
A string representation of this object.
inherited

Operators

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