commentTypeListFromJson function
Implementation
List<enums.CommentType> commentTypeListFromJson(List? commentType) {
if (commentType == null) {
return [];
}
return commentType.map((e) => commentTypeFromJson(e.toString())).toList();
}
List<enums.CommentType> commentTypeListFromJson(List? commentType) {
if (commentType == null) {
return [];
}
return commentType.map((e) => commentTypeFromJson(e.toString())).toList();
}