EqualityComparer<T> typedef Null safety

EqualityComparer<T> = bool Function(T?, T?)

Implementation

typedef EqualityComparer<T> = bool Function(T?, T?);