CompositeModel class abstract
A model that wraps another model, useful for composition.
class AppModel implements Model {
final HeaderModel header;
final ContentModel content;
final FooterModel footer;
// Delegate to child models and compose views
}
- Implemented types
Constructors
Properties
Methods
-
init(
) → Cmd? -
Returns an optional command to execute on program startup.
inherited
-
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) → (Model, Cmd?) -
Handles a message and returns the new model state and optional command.
inherited
-
view(
) → Object -
Renders the current model state for display.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited