addOnActionListener<T extends Cube> method
Add OnActionListener
Implementation
void addOnActionListener<T extends Cube>(
OnActionChanged<T, CubeAction>? listener,
) {
_onActionListeners.add(listener as OnActionChanged<Cube, CubeAction>);
}