name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 2:
return 'PREFER_WEB_THEME_OVER_USER_AGENT_DARKENING';
case 0:
return 'USER_AGENT_DARKENING_ONLY';
case 1:
return 'WEB_THEME_DARKENING_ONLY';
}
return _value.toString();
}