Url class
The URL interface represents an object providing static methods used for creating object URLs.
- Available extensions
- Annotations
-
- @JS('URL')
- @staticInterop
Properties
- hash ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - hostname ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - href ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - origin → String
-
Available on Url, provided by the Url$Typings extension
MDN Referenceno setter - password ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - pathname ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - port ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - protocol ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair - searchParams → URLSearchParams
-
Available on Url, provided by the Url$Typings extension
MDN Referenceno setter - toJSON ↔ String Function()
-
Available on Url, provided by the Url$Typings extension
getter/setter pair - toString$ ↔ String Function()
-
Available on Url, provided by the Url$Typings extension
getter/setter pair - username ↔ String
-
Available on Url, provided by the Url$Typings extension
MDN Referencegetter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- canParse ↔ bool Function(Object, [String?])
-
getter/setter pair
- createObjectURL ↔ String Function(Blob)
-
getter/setter pair
- revokeObjectURL ↔ void Function(String)
-
getter/setter pair