initLifecycle abstract method

void initLifecycle()

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

void initLifecycle();