hasKeyOnly property

bool hasKeyOnly
final

req.has('x') is true when the key is in the input, with any value (also '' or null), like req.exists('x'). Off: '' and null give false.

Implementation

// NEXT MAJOR: make this the default, then remove the flag.
final bool hasKeyOnly;