update method
Updates the component state in response to a message.
Returns the updated component (often this) and an optional command.
Implementation
@override
(ViewComponent, Cmd?) update(Msg msg) => (this, null);
Updates the component state in response to a message.
Returns the updated component (often this) and an optional command.
@override
(ViewComponent, Cmd?) update(Msg msg) => (this, null);