onAction method

  1. @protected
  2. @mustCallSuper
void onAction(
  1. Action action
)

This function fired when action dispatches from the controllers.

Implementation

@protected
@mustCallSuper
void onAction(Action action) {
  if (action is _RemoteControllerAction &&
      action.controller == runtimeType &&
      !action.completer.isCompleted) {
    action.completer.complete(this);
  }
}