Request class

The interface of the Fetch API represents a resource request. You can create a new object using the Request() constructor, but you are more likely to encounter a object being returned as the result of another API operation, such as a service worker FetchEvent.request.

Implemented types
Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

Request(dynamic input, [RequestInit? 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