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