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