URLSearchParams class
The interface defines utility methods to work with the query
string of a URL.
An object implementing can directly be used in a for...of
structure to iterate over key/value pairs in the same order as
they appear in the query string, for example the following two
lines are equivalent:
[for (const key, value
of mySearchParams) {}
for (const key, value
of mySearchParams.entries()) {}
]
Note: This feature is available in Web Workers
- Inheritance
-
- Object
- JsIterable<
JsArray< String> > - URLSearchParams
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
Constructors
- URLSearchParams([dynamic init])
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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