Url class

Annotations
  • @DomName('URL')
  • @Native("URL")

Properties

hash String
@DocsEditable(), @DomName('URL.hash'), @Experimental(), read / write
host String
@DocsEditable(), @DomName('URL.host'), @Experimental(), read / write
hostname String
@DocsEditable(), @DomName('URL.hostname'), @Experimental(), read / write
href String
@DocsEditable(), @DomName('URL.href'), @Experimental(), read / write
origin String
@DocsEditable(), @DomName('URL.origin'), @Experimental(), final
password String
@DocsEditable(), @DomName('URL.password'), @Experimental(), read / write
pathname String
@DocsEditable(), @DomName('URL.pathname'), @Experimental(), read / write
port String
@DocsEditable(), @DomName('URL.port'), @Experimental(), read / write
protocol String
@DocsEditable(), @DomName('URL.protocol'), @Experimental(), read / write
@DocsEditable(), @DomName('URL.search'), @Experimental(), read / write
searchParams UrlSearchParams
@DocsEditable(), @DomName('URL.searchParams'), @Experimental(), final
username String
@DocsEditable(), @DomName('URL.username'), @Experimental(), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toString() String
@DocsEditable(), @DomName('URL.toString')
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Methods

createObjectUrl(dynamic blob_OR_source_OR_stream) String
createObjectUrlFromBlob(Blob blob) String
createObjectUrlFromSource(MediaSource source) String
createObjectUrlFromStream(MediaStream stream) String
revokeObjectUrl(String url) → void