programNameSensitivityListFromJson function
List<ProgramNameSensitivity>
programNameSensitivityListFromJson(
- List? programNameSensitivity, [
- List<
ProgramNameSensitivity> ? defaultValue
Implementation
List<enums.ProgramNameSensitivity> programNameSensitivityListFromJson(
List? programNameSensitivity, [
List<enums.ProgramNameSensitivity>? defaultValue,
]) {
if (programNameSensitivity == null) {
return defaultValue ?? [];
}
return programNameSensitivity
.map((e) => programNameSensitivityFromJson(e.toString()))
.toList();
}