dispatch method
Dispatches a message through interception, children, then self handlers.
Implementation
@override
Cmd? dispatch(Msg msg) {
// Drain any pending commands from didUpdateWidget before normal dispatch.
final pending = _drainPendingCmds();
final baseCmd = super.dispatch(msg);
return _coalesceCommands([
if (pending != null) pending,
if (baseCmd != null) baseCmd,
]);
}