UriExtensions extension
- on
Methods
-
first(
{String separator = "/"}) → String -
Divides a Uri by
separator
and returns the first part. -
last(
{String separator = "/"}) → String -
Divides a Uri by
separator
and returns the last part. -
parentPath(
{String separator = "/"}) → Uri -
Uri is divided by
separator
and moved one level up. -
splitLength(
{String separator = "/"}) → int -
Divides Uri by
separator
and returns the number of elements. -
trimQuery(
) → Uri - Trims Uri query characters (after ?).