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