edit method

Future<T> edit(
  1. String id,
  2. T item, {
  3. String? callRole,
})

Implementation

Future<T> edit(String id, T item, {String? callRole}) {
  String formattedPath = formatPathFromParts([baseUrl, callRole ?? requestRole, path, id]);
  return this.put(Uri.parse(formattedPath), item);
}