executeDelayed method
void
executeDelayed(
- dynamic action()
Executes the given action
after the specified delay.
If another action is already scheduled, it will be cancelled and replaced by this one.
The action
function takes no arguments and returns no value.
Implementation
void executeDelayed(Function() action) {
cancelDelayed();
_action = action;
_timer = Timer(delay, _performAction);
}