PauseModel class
A simple "press any key" pause model.
This is a small convenience bubble that mirrors the legacy "pause"
behavior (previously exposed as PauseComponent).
- Inheritance
-
- Object
- Model
- ViewComponent
- PauseModel
Constructors
- PauseModel({String message = 'Press any key to continue...'})
Properties
Methods
-
init(
) → Cmd? -
Returns an optional command to execute on program startup.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
Msg msg) → (PauseModel, Cmd?) -
Updates the component state in response to a message.
override
-
view(
) → String -
Renders the current model state for display.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited