1. override
String toString()

Returns a string representation of this object.

Source

@override
String toString() => 'HitTestResult(${_path.isEmpty ? "<empty path>" : _path.join(", ")})';