string property Null safety

String string

The path of the requested URI.

Always contains a leading '/', but never a trailing '/'.

Implementation

String get string => "/${segments.join("/")}";