put method
Implementation
Future<http.Response> put ({ required String url, required dynamic payload, Map<String, String>? headers }) async {
return http.put(Uri.parse("$baseUrl$url"), body: jsonEncode(payload), headers: _getHeaders(headers));
}
Future<http.Response> put ({ required String url, required dynamic payload, Map<String, String>? headers }) async {
return http.put(Uri.parse("$baseUrl$url"), body: jsonEncode(payload), headers: _getHeaders(headers));
}