findShadersByUserId method Null safety

Future<FindShadersResponse> findShadersByUserId(
  1. String userId,
  2. {Set<String>? filters,
  3. Sort? sort,
  4. int? from,
  5. int? num}
)

Returns a filtered FindShadersResponse for user userId

  • filters: A set of tag filters
  • sort: The sort order of the shaders
  • from: A 0 based index for results returned
  • num: The total number of results

Upon success a list of Shader objects is provided as well as the overall number of records in total (not the number of shaders 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 list is provided

Implementation

Future<FindShadersResponse> findShadersByUserId(String userId,
    {Set<String>? filters, Sort? sort, int? from, int? num});