onAction method
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);
}
}