getUriBase function

Uri getUriBase()

Returns platform base Uri. See Uri.base .

  • In the browser is the current window.location.href.
  • When not in a Browser is the current working directory.

Implementation

Uri getUriBase() {
  return Uri.base;
}