update method

Future<Response> update(
  1. int id,
  2. Map<String, String> datas, {
  3. List<MultipartFile>? files,
})

Implementation

Future<Response> update(int id, Map<String, String> datas,
    {List<http.MultipartFile>? files}) async {
  return Repository.put("$api/$id", body: datas, headers: await _headers);
}