SilentCherryPickObserver class
Silent observer: ignores all events
- Implemented types
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBindingRegistered(
String name, Type type, {String? scopeName}) → void -
Called when a binding is registered within the container (new dependency mapping).
override
-
onCacheHit(
String name, Type type, {String? scopeName}) → void -
Called when an instance is found in the cache.
override
-
onCacheMiss(
String name, Type type, {String? scopeName}) → void -
Called when an instance is not found in the cache and should be created.
override
-
onCycleDetected(
List< String> chain, {String? scopeName}) → void -
Called if a dependency cycle is detected during resolution.
override
-
onDiagnostic(
String message, {Object? details}) → void -
Used for custom diagnostic and debug messages.
override
-
onError(
String message, Object? error, StackTrace? stackTrace) → void -
Called on error (typically exceptions thrown during resolution, instantiation, or disposal).
override
-
onInstanceCreated(
String name, Type type, Object instance, {String? scopeName}) → void -
Called when a new instance is successfully created.
override
-
onInstanceDisposed(
String name, Type type, Object instance, {String? scopeName}) → void -
Called when an instance is disposed (removed from cache and/or finalized).
override
-
onInstanceRequested(
String name, Type type, {String? scopeName}) → void -
Called when an instance is requested (before it is created or retrieved from cache).
override
-
onModulesInstalled(
List< String> modules, {String? scopeName}) → void -
Called when modules are installed into the container.
override
-
onModulesRemoved(
List< String> modules, {String? scopeName}) → void -
Called when modules are removed from the container.
override
-
onScopeClosed(
String name) → void -
Called when an existing DI scope is closed.
override
-
onScopeOpened(
String name) → void -
Called when a new DI scope is opened (for example, starting a new feature or screen).
override
-
onWarning(
String message, {Object? details}) → void -
Called on non-fatal, recoverable DI container warnings.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited