path property Null safety

String path

Returns the path component.

The returned path is encoded. To get direct access to the decoded path use pathSegments.

Returns the empty string if there is no path component.

Implementation

String get path;