name method
Gets the name of the value.
Implementation
String name() {
switch (_value) {
case 32768:
return 'BY_WORD';
case 9:
return 'DOUBLE';
case 512:
return 'PATTERN_DASH';
case 768:
return 'PATTERN_DASH_DOT';
case 1024:
return 'PATTERN_DASH_DOT_DOT';
case 256:
return 'PATTERN_DOT';
case 1:
return 'SINGLE';
case 0:
return 'STYLE_NONE';
case 2:
return 'THICK';
}
return _value.toString();
}