Comparator<T> typedef Null safety

Comparator<T> = int Function(T value1, T value2)

Implementation

typedef Comparator<T> = int Function(T value1, T value2);