UriPathWithExtras extension
- on
Properties
- fullPath → String
-
Available on Uri, provided by the UriPathWithExtras extension
Returns the full path including query and fragment if they exist.no setter
Methods
-
getQueryParam(
String key, {String? defaultValue}) → String? -
Available on Uri, provided by the UriPathWithExtras extension
Returns the value for the givenkeyfrom query parameters, ordefaultValueif it does not exist. -
hasQueryParam(
String key) → bool -
Available on Uri, provided by the UriPathWithExtras extension
Returns true if this Uri contains the givenkeyas a query parameter. -
isSubPathOf(
Uri other) → bool -
Available on Uri, provided by the UriPathWithExtras extension
Returns true if this Uri's path starts withother's path. -
withAppendedPath(
String subPath) → Uri -
Available on Uri, provided by the UriPathWithExtras extension
Returns a new Uri withsubPathappended to the current path.