put abstract method
Simulates a PUT request
url The API route (should include the resource ID)
body The updated resource data
headers Optional headers for the request
Returns a Future<Response>, representing the result of the simulated PUT operation.
Implementation
Future<Response> put(Uri url, {Map<String, String>? headers, Object? body});