put method
Make a PUT request to a specific path with some data
Implementation
Future<T> put(String path, dynamic item) async {
final response = await http.put(
Uri.parse(path),
body: json.encode(item),
headers: await this._getHeaders(),
);
var data = _handleResponse(response);
return this.mapper(data);
}