CommandAction1<T, A> typedef
CommandAction1<T, A> =
Future<T> Function(A)
Defines a command action that returns a ViewModelState of type T.
Takes an argument of type A.
Used by Command1 for actions with one argument.
Implementation
typedef CommandAction1<T, A> = Future<T> Function(A);