uri property

Uri uri

The uri location of the application.

The host and scheme will not be empty if this object is created from a deep link request. They represents the website that redirect the deep link.

In web platform, the host and scheme are always empty.

Implementation

Uri get uri {
  if (_uri != null){
    return _uri;
  }
  return Uri.parse(_location!);
}