init method

  1. @mustCallSuper
void init()

Call this method to trigger onInit lifecycle event

Implementation

@mustCallSuper
void init() {
  if (!_isInitCalled) {
    _isInitCalled = true;
    onInit();
  }
}