Result<T> constructor

Result<T>(
  1. {T item,
  2. List<ResultDetails<T>> matches = const [],
  3. double score = 0}
)

Instantiates it

Implementation

Result({
  this.item,
  this.matches = const [],
  this.score = 0,
});