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