Url class

Inheritance
Implements
Annotations
  • @DocsEditable()
  • @DomName('URL')

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Static Methods

createObjectUrl(blob_OR_source_OR_stream) → String
createObjectUrlFromBlob(Blob blob) → String
@DocsEditable(), @DomName('URL.createObjectUrlFromBlob')
createObjectUrlFromSource(MediaSource source) → String
@DocsEditable(), @DomName('URL.createObjectUrlFromSource')
createObjectUrlFromStream(MediaStream stream) → String
@DocsEditable(), @DomName('URL.createObjectUrlFromStream')
revokeObjectUrl(String url) → void
@DocsEditable(), @DomName('URL.revokeObjectURL')

Constructors

Url.internal_()

Properties

hashString
@DocsEditable(), @DomName('URL.hash'), @Experimental(), read / write
hostString
@DocsEditable(), @DomName('URL.host'), @Experimental(), read / write
hostnameString
@DocsEditable(), @DomName('URL.hostname'), @Experimental(), read / write
hrefString
@DocsEditable(), @DomName('URL.href'), @Experimental(), read / write
originString
@DocsEditable(), @DomName('URL.origin'), @Experimental(), read-only
passwordString
@DocsEditable(), @DomName('URL.password'), @Experimental(), read / write
pathnameString
@DocsEditable(), @DomName('URL.pathname'), @Experimental(), read / write
portString
@DocsEditable(), @DomName('URL.port'), @Experimental(), read / write
protocolString
@DocsEditable(), @DomName('URL.protocol'), @Experimental(), read / write
usernameString
@DocsEditable(), @DomName('URL.username'), @Experimental(), read / write
hashCodeint
read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

toString() → String
@DocsEditable(), @DomName('URL.toString'), @Experimental()

Returns the result of the JavaScript objects toString method.

noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Url-class.html