FindShadersResponse constructor

FindShadersResponse({
  1. int? total,
  2. List<FindShaderResponse>? shaders,
  3. ResponseError? error,
})

Builds a FindShadersResponse

total: The total number of shader returned shaders: The list of shaders error: An error if there was error while fetching the shaders

Implementation

FindShadersResponse({int? total, this.shaders, super.error})
    : total = total ?? shaders?.length ?? 0;