Returns the pair as a MapEntry, making it perfectly compatible with Dart Maps.
MapEntry<T1, T2> toMapEntry() => MapEntry(first, second);