mvu_processor library

Classes

Cmd<Msg>
MVUProcessor<Model, Msg>
Detached MVU processor that can be used to dispatch messages from anywhere. It can be created from functions or subclassed. This is useful when you want to dispatch messages from outside the view. The processor can also be used with dependency injection to create a singleton.
Sub<Msg>

Extensions

MappedDispatch on Dispatch<Msg>
MappedUpdate on (InnerModel, Cmd<InnerMsg>)

Typedefs

Dispatch<Msg> = void Function(Msg msg)
Effect<Msg> = FutureOr<void> Function(Dispatch<Msg> dispatch)
SubItem<Msg> = (SubscriptionId, Subscribe<Msg>)
Subs<Msg> = List<SubItem<Msg>>
Subscribe<Msg> = void Function() Function(Dispatch<Msg> dispatch)
Subscription<Model, Msg> = Subs<Msg> Function(Model model)
SubscriptionId = List<String>