toComponentDependencyType method

ComponentDependencyType toComponentDependencyType()

Implementation

ComponentDependencyType toComponentDependencyType() {
  switch (this) {
    case 'HARD':
      return ComponentDependencyType.hard;
    case 'SOFT':
      return ComponentDependencyType.soft;
  }
  throw Exception('$this is not known in enum ComponentDependencyType');
}