updateOrder method
Implementation
Future<WooOrder> updateOrder({Map? orderMap, int? id}) async {
_printToLog('Updating Order With Payload : ' + orderMap.toString());
_setApiResourceUrl(
path: 'orders/' + id.toString(),
);
final response = await put(queryUri.toString(), orderMap);
return WooOrder.fromJson(response);
}