name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 2:
return 'BETA';
case 8:
return 'CANARY';
case 4:
return 'DEV';
case 0:
return 'NONE';
case 1:
return 'STABLE';
}
return _value.toString();
}