toTaskDefinitionField method

TaskDefinitionField toTaskDefinitionField()

Implementation

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