getStringFromHMSPollCategory static method
Implementation
static String getStringFromHMSPollCategory(HMSPollCategory hmsPollCategory) {
switch (hmsPollCategory) {
case HMSPollCategory.poll:
return "poll";
case HMSPollCategory.quiz:
return "quiz";
default:
return "poll";
}
}