toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ChannelMembershipType.$default:
      return 'DEFAULT';
    case ChannelMembershipType.hidden:
      return 'HIDDEN';
  }
}