CommandAction0<T> typedef

CommandAction0<T> = Future<T> Function()

Defines a command action that returns a ViewModelState of type T. Used by Command0 for actions without arguments.

Implementation

typedef CommandAction0<T> = Future<T> Function();