programNameSensitivityListToJson function
List<String>
programNameSensitivityListToJson(
- List<
ProgramNameSensitivity> ? programNameSensitivity
Implementation
List<String> programNameSensitivityListToJson(
List<enums.ProgramNameSensitivity>? programNameSensitivity) {
if (programNameSensitivity == null) {
return [];
}
return programNameSensitivity
.map((e) => enums.$ProgramNameSensitivityMap[e]!)
.toList();
}