Transformer<T> typedef

Transformer<T> = FutureOr<T> Function(T)

Transform a value to another value of the same type.

Implementation

typedef Transformer<T> = FutureOr<T> Function(T);