Open adnsawas opened 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()
http.Request(“DELETE”, url)
http.delete() is simpler.
https://github.com/ikema77/flutter_auth/blob/0b86b7d22c968fdd363c173abcfbd6dd2510f919/lib/providers/info.dart#L90-L99
You may use
http.delete()
instead ofhttp.Request(“DELETE”, url)
.http.delete()
is simpler.