reverse property

Map<T, String>? get reverse

Implementation

Map<T, String>? get reverse {
  reverseMap ??= map.map((k, v) => MapEntry(v, k));
  return reverseMap;
}