commentTypeListToJson function
Implementation
List<String> commentTypeListToJson(List<enums.CommentType>? commentType) {
if (commentType == null) {
return [];
}
return commentType.map((e) => enums.$CommentTypeMap[e]!).toList();
}
List<String> commentTypeListToJson(List<enums.CommentType>? commentType) {
if (commentType == null) {
return [];
}
return commentType.map((e) => enums.$CommentTypeMap[e]!).toList();
}