toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case WorkflowStatus.$new:
      return 'NEW';
    case WorkflowStatus.notified:
      return 'NOTIFIED';
    case WorkflowStatus.resolved:
      return 'RESOLVED';
    case WorkflowStatus.suppressed:
      return 'SUPPRESSED';
  }
}