disposeLifecycle method

  1. @override
void disposeLifecycle()
override

Disposes of any resources held by this object.

This should be called when the object is no longer needed to clean up any resources and prevent memory leaks.

Implementation

@override
void disposeLifecycle() {
  if (debugLabel != null) {
    raiiTrace('[RAII] Dispose lifecycle: $debugLabel');
  }
  dispose();
  super.disposeLifecycle();
}