Result<T> constructor
Result<T> ({
- required T item,
- List<
ResultDetails< matches = const [],T> > - double score = 0,
Instantiates it
Implementation
Result({
required this.item,
this.matches = const [],
this.score = 0,
});