toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case JobReportScope.allTasks:
      return 'AllTasks';
    case JobReportScope.failedTasksOnly:
      return 'FailedTasksOnly';
  }
}