Understanding the Uri class in Dart (from examples)

The Uri class in Dart has good documentation, but sometimes seeing examples makes it a lot easier to understand. This article will show examples for all of the main parameters to make them more clear.
Creating a Uri
You can create a Uri by parsing string like this:
Uri uri = Uri.parse('http://www.example.com');