Validator<S> typedef

Validator<S> = Either<List, S> Function(S subject)

A Validator that does not change its input type.

Implementation

typedef Validator<S> = Either<List<dynamic>, S> Function(S subject);