booleanOptional method
Extracts an optional boolean value.
Returns the boolean value corresponding to the key
if it exists, or null
if it does not exist. Use the boolean method if the key must always
exist.
See boolean for more details.
Implementation
bool? booleanOptional(String key) =>
_boolean(key, optional: true);