name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 'CANCEL':
      return 'CANCEL';
    case 'PREVIEW':
      return 'PREVIEW';
    case 'SAVE':
      return 'SAVE';
    case 'SPOOL':
      return 'SPOOL';
  }
  return _value.toString();
}