initLifecycle method
Initializes the lifecycle of this object.
This should be called when the object needs to be initialized or its resources need to be set up.
Throws StateError if called when already initialized.
Implementation
@override
void initLifecycle() {
super.initLifecycle();
if (debugLabel != null) {
raiiTrace('[RAII] Init lifecycle: $debugLabel');
}
listenable.addListener(onListen);
}