put method
Implementation
Future<T> put(Uri path, dynamic item) async {
final response = await http.put(
path,
body: json.encode(item),
headers: await this.getHeaders(),
);
var data = handleResponse(response);
return this.mapper(data);
}