HitTestResult constructor

HitTestResult({List<HitTestEntry> path })

Creates a hit test result.

If the path argument is null, the path field will be initialized with and empty list.

Implementation

HitTestResult({ List<HitTestEntry> path })
  : _path = path ?? <HitTestEntry>[];