onInit method

void onInit()

Called when the object is first registered using Injector.put, Injector.putScoped, Injector.autoDisposePut, or Injector.putTagged.

Override this method to perform any initialization logic.

Implementation

void onInit() {}