toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case VocabularyState.pending:
      return 'PENDING';
    case VocabularyState.ready:
      return 'READY';
    case VocabularyState.failed:
      return 'FAILED';
  }
}