toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ComponentVisibilityScope.private:
      return 'PRIVATE';
    case ComponentVisibilityScope.public:
      return 'PUBLIC';
  }
}