Future<Response<T>> update<R>( String id, Map<String, dynamic> data, { R? Function(R parent)? source, });