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