TreeSearchResult<T extends Object> constructor

const TreeSearchResult<T extends Object>({
  1. required Map<T, TreeSearchMatch> matches,
  2. int totalNodeCount = 0,
  3. int totalMatchCount = 0,
})

Creates a TreeSearchResult.

Implementation

const TreeSearchResult({
  required this.matches,
  this.totalNodeCount = 0,
  this.totalMatchCount = 0,
});