InstanceInfo class

Holds metadata about the registration and lifecycle state of an instance.

Constructors

InstanceInfo({required bool? isPermanent, required bool? isSingleton, required bool isRegistered, required bool isPrepared, required bool? isInit})
Creates a new InstanceInfo containing registration details.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
isCreate → bool
Whether the instance is created on demand rather than stored as a singleton.
no setter
isInit → bool?
Whether the dependency has been initialized.
final
isPermanent → bool?
Whether the instance is marked as permanent.
final
isPrepared → bool
Whether the dependency is prepared (registered via lazyPut but not yet initialized).
final
isRegistered → bool
Whether the dependency is registered in the dependency manager.
final
isSingleton → bool?
Whether the instance is registered as a singleton.
final
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.
override

Operators

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