Sets a string value for key.
key
void setString(String key, String value) { _addAttribute(key, 'string', value); }