name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 'EMBED':
      return 'EMBED';
    case 'IFRAME':
      return 'IFRAME';
    case 'MAIN_FRAME':
      return 'MAIN_FRAME';
    case 'OBJECT':
      return 'OBJECT';
    case 'UNKNOWN':
      return 'UNKNOWN';
  }
  return _value.toString();
}