name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 0:
      return 'BROWSER';
    case 4:
      return 'GPU';
    case 6:
      return 'PPAPI_BROKER';
    case 5:
      return 'PPAPI_PLUGIN';
    case 1:
      return 'RENDERER';
    case 3:
      return 'SANDBOX_HELPER';
    case 2:
      return 'UTILITY';
  }
  return _value.toString();
}