toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChannelMode.unrestricted:
      return 'UNRESTRICTED';
    case ChannelMode.restricted:
      return 'RESTRICTED';
  }
}