WorkerLocation class
The absolute location of the script executed by the Worker. Such an object is initialized for each worker and is available via the WorkerGlobalScope.location property obtained by calling self.location.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- WorkerLocation.new()
-
factory
Properties
- hash → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - hostname → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - href → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - origin → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - pathname → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - port → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - protocol → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- search → String
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
MDN Referenceno setter - toString$ ↔ String Function()
-
Available on WorkerLocation, provided by the WorkerLocation$Typings extension
getter/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