entityDocumentTypeListToJson function
Implementation
List<String> entityDocumentTypeListToJson(
List<enums.EntityDocumentType>? entityDocumentType) {
if (entityDocumentType == null) {
return [];
}
return entityDocumentType
.map((e) => enums.$EntityDocumentTypeMap[e]!)
.toList();
}