name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 4:
      return 'ABORTED';
    case 3:
      return 'FAILED';
    case 2:
      return 'FINISHED';
    case 1:
      return 'STARTED';
    case 6:
      return 'TAB_HIDDEN';
    case 5:
      return 'TAB_SHOWN';
  }
  return _value.toString();
}