getBool method
Implementation
bool getBool(String name, {bool? defaults}) {
final result = getBoolOrNull(name, defaults: defaults);
if (result == null) {
throw ParsingException(name, null, 'Missing required bool field');
}
return result;
}