toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ObjectiveStatus.succeeded:
      return 'Succeeded';
    case ObjectiveStatus.pending:
      return 'Pending';
    case ObjectiveStatus.failed:
      return 'Failed';
  }
}