uri property

Uri uri

The location URI of this resource.

This is a Uri of the uri parameter given to the constructor. If the parameter was a string that did not contain a valid URI, reading uri will fail.

Implementation

Uri get uri => (_uri is String) ? Uri.parse(_uri) : (_uri as Uri);