KeyComparator typedef Null safety

KeyComparator = int Function(dynamic key1, dynamic key2)

Implementation

typedef KeyComparator = int Function(dynamic key1, dynamic key2);