toValue method

String toValue()

Implementation

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