Converts a string to a Uri.
Example: 'https://example.com' -> Uri object
static Uri toUri(String url) => Uri.parse(url);