name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 0:
      return 'DENY';
    case 1:
      return 'GRANT';
    case 2:
      return 'PROMPT';
  }
  return _value.toString();
}