toValue method
Implementation
String toValue() {
switch (this) {
case OptionState.requiresIndexDocuments:
return 'RequiresIndexDocuments';
case OptionState.processing:
return 'Processing';
case OptionState.active:
return 'Active';
}
}