name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 'first-party':
      return 'FIRST_PARTY';
    case 'third-party':
      return 'THIRD_PARTY';
  }
  return _value.toString();
}