presentation/command library
Classes
Typedefs
-
CommandAction0<
T> = Future< T> Function() -
Defines a command action that returns a ViewModelState of type
T. Used by Command0 for actions without arguments. -
CommandAction1<
T, A> = Future< T> Function(A) -
Defines a command action that returns a ViewModelState of type
T. Takes an argument of typeA. Used by Command1 for actions with one argument.