onInit method

void onInit()

Called when state is created

Implementation

void onInit() {}