Inst<T extends Object> class
Class used for defining container instances
Constructors
- Inst.constant(T? instance, {bool skipIfRegistered = true})
-
Inst.factory(InstInitFn<
T> ? factory, {InstDispose<T> ? dispose, bool skipIfRegistered = true}) -
Inst.instance(T? instance, {ShouldNotify<
T> ? shouldNotify, bool skipIfRegistered = true})
Properties
-
dispose
→ InstDispose<
T> ? -
final
-
factory
→ InstInitFn<
T> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance → T?
-
final
- isFactory → bool
-
no setter
- isInstance → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shouldUpdate
→ ShouldNotify<
T> ? -
final
- skipIfRegistered → bool
-
final
- t → Type?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
typed<
R> (R passed< X extends Object>(Inst< ) → RX> inst)
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited