Sets a boolean value for key.
key
void setBoolean(String key, bool value) { _addAttribute(key, 'boolean', value); }