name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 1:
      return 'LEAST_STABLE';
    case 0:
      return 'MOST_STABLE';
  }
  return _value.toString();
}