attachmentTypeListToJson function
Implementation
List<String> attachmentTypeListToJson(
List<enums.AttachmentType>? attachmentType) {
if (attachmentType == null) {
return [];
}
return attachmentType.map((e) => enums.$AttachmentTypeMap[e]!).toList();
}