MotorInspectionObserver class abstract interface

Observes the lifecycle of controllers created while it is attached.

This is intended for optional developer tooling. Motor does not retain a controller registry until the first observer attaches, so applications that do not import a tool pay only a nullable hook check per controller.

Annotations
  • @experimental

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

didRegisterController(TrackController controller) → void
Called after controller is created.
didUnregisterController(TrackController controller) → void
Called immediately before controller is disposed.
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