FakeRetriever constructor

const FakeRetriever(
  1. List<Document> docs
)

A retriever that returns a fixed list of documents. This class is meant for testing purposes only.

Implementation

const FakeRetriever(this.docs)
    : super(defaultOptions: const RetrieverOptions());