IbrahimDevp / flutter_auth

0 stars 0 forks source link

http.delete() instead of http.Request(“DELETE”, url) #11

Open adnsawas opened 1 year ago

adnsawas commented 1 year ago

https://github.com/ikema77/flutter_auth/blob/0b86b7d22c968fdd363c173abcfbd6dd2510f919/lib/providers/info.dart#L90-L99

You may use http.delete() instead of http.Request(“DELETE”, url).

http.delete() is simpler.