toValue method

String toValue()

Implementation

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