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