paymentSchemeNullableListFromJson function
List<PaymentScheme> ?
paymentSchemeNullableListFromJson(
- List? paymentScheme, [
- List<
PaymentScheme> ? defaultValue
Implementation
List<enums.PaymentScheme>? paymentSchemeNullableListFromJson(
List? paymentScheme, [
List<enums.PaymentScheme>? defaultValue,
]) {
if (paymentScheme == null) {
return defaultValue;
}
return paymentScheme.map((e) => paymentSchemeFromJson(e.toString())).toList();
}