1. override
void fire()

Called when the action is executed. If you are implementing your own ActionInstant, override this method.

Source

@override
void fire() {
  _function();
}