/Dart 2

base property

Uri base

Returns the natural base URI for the current platform.

When running in a browser this is the current URL of the current page (from window.location.href).

When not running in a browser this is the file URI referencing the current working directory.


external static Uri get base;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.