canExecute method
Check if an action can be executed
Implementation
bool canExecute() {
_cleanup();
return _callTimes.length < maxCalls;
}
Check if an action can be executed
bool canExecute() {
_cleanup();
return _callTimes.length < maxCalls;
}