addDisposeListener abstract method
void
addDisposeListener(
- VoidCallback callback
Run the callback
when method dispose is called.
All the dispose callbacks are called before the injector is disposed.
Implementation
void addDisposeListener(VoidCallback callback);