Skip to content

Instantly share code, notes, and snippets.

@muflone
Created November 16, 2019 20:16
Show Gist options
  • Save muflone/9d5eb3f5b12eb1ad69f992033f51405d to your computer and use it in GitHub Desktop.
Save muflone/9d5eb3f5b12eb1ad69f992033f51405d to your computer and use it in GitHub Desktop.
Dart Uri localhost:22
void main() {
Uri uri = Uri.parse('localhost:22');
print("scheme: " + uri.scheme.toString());
print("host: " + uri.host.toString());
print("port: " + uri.port.toString());
print("path: " + uri.path.toString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment