contains method

bool contains(
  1. String key
)

Whether key currently exists, including values explicitly set to null.

Implementation

bool contains(String key) {
  _ensureActive();
  return _containsStatePath(_values, validateStateKey(key));
}