convertGroupType static method
- String type
Implementation
static String? convertGroupType(String type) {
if (type == GRP_WORK) {
return GroupType.Work;
}
if (type == GRP_PUBLIC) {
return GroupType.Public;
}
if (type == GRP_AVCHATROOM) {
return GroupType.AVChatRoom;
}
if (type == GRP_MEETING) {
return GroupType.Meeting;
}
if (type == GRP_COMMUNITY) {
return GroupType.Community;
}
return null;
}