groupChannelSuperFilterEnum function

String groupChannelSuperFilterEnum(
  1. SuperChannelFilter filter
)

Implementation

String groupChannelSuperFilterEnum(SuperChannelFilter filter) {
  switch (filter) {
    case SuperChannelFilter.all:
      return 'all';
    case SuperChannelFilter.exclusiveOnly:
      return 'exclusive_only';
    case SuperChannelFilter.superChannel:
      return 'super';
    case SuperChannelFilter.nonsuperChannel:
      return 'nonsuper';
    case SuperChannelFilter.broadcastOnly:
      return 'broadcast_only';
  }
}