isPresent property
override
    Returns true if the key is present in the map.
Consider using pattern matching to access value and index:
if (entry is PresentMapEntry<String, bool>) {
  print(entry.key); // 'a'
  print(entry.value); // true
  print(entry.index); // 0
}
Implementation
@override
bool get isPresent => true;