payPeriodDetailsPayFrequencyListFromJson function
List<PayPeriodDetailsPayFrequency>
payPeriodDetailsPayFrequencyListFromJson(
- List? payPeriodDetailsPayFrequency, [
- List<
PayPeriodDetailsPayFrequency> ? defaultValue
Implementation
List<enums.PayPeriodDetailsPayFrequency>
payPeriodDetailsPayFrequencyListFromJson(
List? payPeriodDetailsPayFrequency, [
List<enums.PayPeriodDetailsPayFrequency>? defaultValue,
]) {
if (payPeriodDetailsPayFrequency == null) {
return defaultValue ?? [];
}
return payPeriodDetailsPayFrequency
.map((e) => payPeriodDetailsPayFrequencyFromJson(e.toString()))
.toList();
}