onEntry method
Triggers the callback
when the state is entered.
Implementation
void onEntry(Callback0 callback) => addTransition(EntryTransition(callback));
Triggers the callback
when the state is entered.
void onEntry(Callback0 callback) => addTransition(EntryTransition(callback));