ListenStates<T> typedef
ListenStates<T> =
List<ReactterState> Function(T instance)
This function type can be used as a callback to listen to the states of an
instance of T
type and return a list of ReactterState objects
associated with that instance.
Implementation
typedef ListenStates<T> = List<ReactterState> Function(T instance);