toTaskField method

TaskField toTaskField()

Implementation

TaskField toTaskField() {
  switch (this) {
    case 'TAGS':
      return TaskField.tags;
  }
  throw Exception('$this is not known in enum TaskField');
}