base property Null safety

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.

Implementation

external static Uri get base;