payFrequencyValueNullableListFromJson function
List<PayFrequencyValue> ?
payFrequencyValueNullableListFromJson(
- List? payFrequencyValue, [
- List<
PayFrequencyValue> ? defaultValue
Implementation
List<enums.PayFrequencyValue>? payFrequencyValueNullableListFromJson(
List? payFrequencyValue, [
List<enums.PayFrequencyValue>? defaultValue,
]) {
if (payFrequencyValue == null) {
return defaultValue;
}
return payFrequencyValue
.map((e) => payFrequencyValueFromJson(e.toString()))
.toList();
}