onInit method
void
onInit()
Invoked after the instance is instantiated but before it is returned to the caller.
Use this method for isolated setup logic such as starting listeners or initializing reactive variables.
Implementation
void onInit() {}