toComponentVisibilityScope method

ComponentVisibilityScope toComponentVisibilityScope()

Implementation

ComponentVisibilityScope toComponentVisibilityScope() {
  switch (this) {
    case 'PRIVATE':
      return ComponentVisibilityScope.private;
    case 'PUBLIC':
      return ComponentVisibilityScope.public;
  }
  throw Exception('$this is not known in enum ComponentVisibilityScope');
}