Dart
dart:html
Url class
description
Url class
Annotations
@Native("URL")
Properties
hash
↔
String
read / write
host
↔
String
read / write
hostname
↔
String
read / write
href
↔
String
read / write
origin
→
String
final
password
↔
String
read / write
pathname
↔
String
read / write
port
↔
String
read / write
protocol
↔
String
read / write
search
↔
String
read / write
searchParams
→
UrlSearchParams
final
username
↔
String
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
Returns a string representation of this object.
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