Predicate<T> typedef Null safety

Predicate<T> = bool Function(T input)

Implementation

typedef Predicate<T> = bool Function(T input);