paymentProfileStatusListFromJson function
List<PaymentProfileStatus>
paymentProfileStatusListFromJson(
- List? paymentProfileStatus, [
- List<
PaymentProfileStatus> ? defaultValue
Implementation
List<enums.PaymentProfileStatus> paymentProfileStatusListFromJson(
List? paymentProfileStatus, [
List<enums.PaymentProfileStatus>? defaultValue,
]) {
if (paymentProfileStatus == null) {
return defaultValue ?? [];
}
return paymentProfileStatus
.map((e) => paymentProfileStatusFromJson(e.toString()))
.toList();
}