toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case FaqStatus.creating:
      return 'CREATING';
    case FaqStatus.updating:
      return 'UPDATING';
    case FaqStatus.active:
      return 'ACTIVE';
    case FaqStatus.deleting:
      return 'DELETING';
    case FaqStatus.failed:
      return 'FAILED';
  }
}