ResultsAndWeights<T> constructor

ResultsAndWeights<T>({
  1. required List<Result<T>> results,
  2. required Map<String, double> weights,
})

Instantiates it

Implementation

ResultsAndWeights({
  required this.results,
  required this.weights,
});