name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 'anonymous':
return 'ANONYMOUS';
case 'use-credentials':
return 'USE_CREDENTIALS';
}
return _value.toString();
}
Gets the name of the value.
String name() {
switch (_value) {
case 'anonymous':
return 'ANONYMOUS';
case 'use-credentials':
return 'USE_CREDENTIALS';
}
return _value.toString();
}