boolean method
The input as a bool. true, 1, on and yes give true. Any
other value gives false. defaultValue is given when the key is
not there.
req.boolean('remember');
Implementation
bool boolean(String key, [bool defaultValue = false]) {
dynamic val = _find(key).value;
if (val == null) return defaultValue;
if (val is bool) return val;
return _trueWords.contains(val.toString().trim().toLowerCase());
}