transferDiligenceStatusListToJson function
List<String>
transferDiligenceStatusListToJson(
- List<
TransferDiligenceStatus> ? transferDiligenceStatus
Implementation
List<String> transferDiligenceStatusListToJson(
List<enums.TransferDiligenceStatus>? transferDiligenceStatus) {
if (transferDiligenceStatus == null) {
return [];
}
return transferDiligenceStatus
.map((e) => enums.$TransferDiligenceStatusMap[e]!)
.toList();
}