put method
Implementation
Future<http.Response> put(String endpoint,
{bool includeToken = true, Map<String, dynamic>? body}) async {
Map<String, dynamic>? cleanBody = body != null ? cleanEntity(body) : null;
return http.put(
await getUrl(endUrl: endpoint),
headers: getHeaders(includeToken: includeToken),
body: cleanBody != null ? jsonEncode(cleanBody) : null,
);
}