getPath method Null safety

String getPath()

Gets dot notation path of the validated element.

Returns the path of the validated element.