physicalDocumentCategoryListToJson function
List<String>
physicalDocumentCategoryListToJson(
- List<
PhysicalDocumentCategory> ? physicalDocumentCategory
Implementation
List<String> physicalDocumentCategoryListToJson(
List<enums.PhysicalDocumentCategory>? physicalDocumentCategory) {
if (physicalDocumentCategory == null) {
return [];
}
return physicalDocumentCategory
.map((e) => enums.$PhysicalDocumentCategoryMap[e]!)
.toList();
}