updateOrders method
Implementation
@override
Future<OrderList> updateOrders(
String orderId, Map<String, dynamic> body) async {
var res = await _post("/orders/" + orderId, body);
return OrderList.fromJson(jsonDecode(res.body));
}
@override
Future<OrderList> updateOrders(
String orderId, Map<String, dynamic> body) async {
var res = await _post("/orders/" + orderId, body);
return OrderList.fromJson(jsonDecode(res.body));
}