fix: order and add to order
This commit is contained in:
@@ -81,7 +81,7 @@ class OrderData {
|
||||
orders: map["orders"] == null
|
||||
? []
|
||||
: List<Order>.from(map['orders']?.map((x) => Order.fromMap(x))),
|
||||
payments: map["orders"] == null
|
||||
payments: map["payments"] == null
|
||||
? []
|
||||
: List<Payment>.from(map['payments']?.map((x) => Payment.fromMap(x))),
|
||||
totalCount: map['total_count'],
|
||||
|
||||
Reference in New Issue
Block a user