onInit method

  1. @mustCallSuper
void onInit()
inherited

Called when the controller is first created.

Override this to perform initialization logic (fetch data, etc).

Implementation

@mustCallSuper
void onInit() {
  _initialized = true;
}