name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 1:
      return 'COMPLETE';
    case 0:
      return 'DEFAULT';
    case 2:
      return 'LIMITED';
    case -1:
      return 'NONE';
  }
  return _value.toString();
}