findAllShaderIds method

  1. @override
Future<FindShaderIdsResponse> findAllShaderIds()

Returns a FindShaderIdsResponse with all the shader id's

Upon success a list of shader ids is provided and error is set to null

In case of error a ResponseError is set and no shader id list is provided

Implementation

@override
Future<FindShaderIdsResponse> findAllShaderIds() {
  return catchSqlError<FindShaderIdsResponse>(
      store.shaderDao
          .findAllIds()
          .then((value) => FindShaderIdsResponse(ids: value)),
      (sqle) => FindShaderIdsResponse(
          error: toResponseError(sqle, context: contextShader)),
      options);
}