urlFriendly property
Returns a string ready for use in url paths.
Implementation
string get urlFriendly => replaceAll(" ", "-").toLowerCase().only([
...alphaChars,
...numberChars,
"-",
"_",
]);
Returns a string ready for use in url paths.
string get urlFriendly => replaceAll(" ", "-").toLowerCase().only([
...alphaChars,
...numberChars,
"-",
"_",
]);