woocommerce_dart
woocommerce_dart copied to clipboard
How to send PUT and DELETE Requests
How can I send PUT and DELETE requests with this package ?
There is not method for put and delete. From what i can think of, is to use Dart's extension methods and following the way he has written the code to create thos methods yourself: getAsync method code: https://pub.dev/documentation/woocommerce_api/latest/woocommerce_api/WooCommerceAPI/getAsync.html link to youtube video for Dart's extension methods: https://www.youtube.com/watch?v=D3j0OSfT9Z
NOTE: I haven't tried it my self. I just came up with this idea while searching for the same thing