getAsURI method
Returns the given endpoint parsed to an valid URI.
Could throw FormatException if URI.parse
couldn't parse the string.
Implementation
Uri getAsURI() {
return Uri.parse(endpoint);
}
Returns the given endpoint parsed to an valid URI.
Could throw FormatException if URI.parse
couldn't parse the string.
Uri getAsURI() {
return Uri.parse(endpoint);
}