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