ToURI extension

Extends String to provide URI compatibility.

on

Methods

toUri() Uri

Available on String, provided by the ToURI extension

Converts the current string into a valid URI. Since it uses Uri.parse then it can throw FormatException if this is not a valid string for parsing.