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