StateFutureFunction<S> typedef

StateFutureFunction<S> = Future<S> Function({S? currentState})

return S state when call

Implementation

typedef StateFutureFunction<S> = Future<S> Function({S? currentState});