toString method Null safety

  1. @override
String toString ()
override

Returns a string representation of this object.

Implementation

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