toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case TaskStatus.finished:
      return 'FINISHED';
    case TaskStatus.failed:
      return 'FAILED';
    case TaskStatus.$false:
      return 'FALSE';
  }
}