findShaderIds method
Returns a filtered FindShaderIdsResponse
with a list of shader ids.
term
: Shaders that haveterm
in the name or in descriptionfilters
: 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> findShaderIds(
{String? term, Set<String>? filters, Sort? sort, int? from, int? num}) {
return catchDioError<FindShaderIdsResponse>(
_getShaderIds(
term: term,
filters: filters,
sort: sort,
from: from,
num: options.shaderCount),
(de) => FindShaderIdsResponse(
error: toResponseError(de, context: contextShader)));
}