FPayPalApprovalData.fromJson constructor
Implementation
FPayPalApprovalData.fromJson(Map<String, dynamic> json) {
payerId = json['payerId'];
orderId = json['orderId'];
if (json['payer'] != null) {
payer = Payer.fromJson(json['payer']);
}
if (json['cart'] != null) {
cart = Cart.fromJson(json['cart']);
}
}