PaymentRequest constructor
PaymentRequest( - List<Map> methodData,
- Map details, [
- Map? options
])
Implementation
factory PaymentRequest(List<Map> methodData, Map details, [Map? options]) {
var methodData_1 = [];
for (var i in methodData) {
methodData_1.add(convertDartToNative_Dictionary(i));
}
if (options != null) {
var details_1 = convertDartToNative_Dictionary(details);
var options_2 = convertDartToNative_Dictionary(options);
return PaymentRequest._create_1(methodData_1, details_1, options_2);
}
var details_1 = convertDartToNative_Dictionary(details);
return PaymentRequest._create_2(methodData_1, details_1);
}