The current location of this window.
Location currentLocation = window.location;
print(currentLocation.href); // 'http://www.example.com:80/'
Source
@DomName('Window.location') @DocsEditable() Location get location => _blink.BlinkWindow.instance.location_Getter_(this);