AsyncResultEffect<S, R> typedef

AsyncResultEffect<S, R> = Future<Result<R>> Function(ResultNotifier<R> notifier, S input)

Signature for functions used by AsyncEffectNotifier to execute an action that returns a Result Future, using the data of a source ResultNotifier as input.

Implementation

typedef AsyncResultEffect<S, R> = Future<Result<R>> Function(ResultNotifier<R> notifier, S input);