exists method

bool exists(
  1. String key
)

True when the key is in the input, with any value (also '' or null). Dot keys work.

req.exists('remember');

Implementation

bool exists(String key) {
  return _find(key).found;
}