name method

String name()

Gets the name of the value.

Implementation

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