addAction method
Adds an action at the end of the others.
If the WidgetTester has been set, will be used instead of the one in the TestAction
Implementation
void addAction(TestAction action) {
_actions.add(_tester != null ? action.copyWith(tester: _tester) : action);
_doneActions.add(false);
}