findShaderIdsByUserId method
Returns a filtered FindShaderIdsResponse
with a list of shader ids.
for the user userId
filters
: A set of tag filterssort
: The sort order of the shadersfrom
: A 0 based index for results returnednum
: The total number of results
Upon success a list of shader ids is provided as well as the overall number of records in total (not the number of shader ids in the list, the number of total results). The error is set to null
In case of error a ResponseError
is set and no shader id list is
provided
Implementation
@override
Future<FindShaderIdsResponse> findShaderIdsByUserId(String userId,
{Set<String>? filters, Sort? sort, int? from, int? num}) {
return catchDioError<FindShaderIdsResponse>(
_getShaderIdsByUserId(userId,
filters: filters,
sort: sort,
from: from,
num: num ?? options.userShaderCount),
(de) => FindShaderIdsResponse(
error: toResponseError(de, context: contextUser, target: userId)));
}