name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 1:
      return 'FORCE_DARK_AUTO';
    case 0:
      return 'FORCE_DARK_OFF';
    case 2:
      return 'FORCE_DARK_ON';
  }
  return _value.toString();
}