isPresent property
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
bool get isPresent => false;