onInit method

void onInit()

Performs initialization when the controller is created.

Implementation

void onInit() {
  // loaded = true;
}