AnalysisService constructor

AnalysisService(
  1. String name
)

Implementation

factory AnalysisService(String name) {
  switch (name) {
    case 'FOLDING':
      return FOLDING;
    case 'HIGHLIGHTS':
      return HIGHLIGHTS;
    case 'NAVIGATION':
      return NAVIGATION;
    case 'OCCURRENCES':
      return OCCURRENCES;
    case 'OUTLINE':
      return OUTLINE;
  }
  throw Exception('Illegal enum value: $name');
}