containsKey method

bool containsKey(
  1. Object? key
)
override

Checks if this map contains an element with specified key.

The key can be defined using dot notation and allows to recursively access elements of elements.

  • key a key to be checked Returns true if this map contains the key or false otherwise.

Implementation

bool containsKey(Object? key) {
  return RecursiveObjectReader.hasProperty(this, key.toString());
}