HttpRequestFactory class
Factory class for creating HttpRequest instances.
Constructors
- HttpRequestFactory.new()
-
Creates a HttpRequestFactory.
const
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
-
request(
String url, {String method = 'GET', bool withCredentials = false, String? mimeType, Map< String, String> ? requestHeaders, Uint8List? sendData}) → Future<Object> -
Creates and sends a URL request for the specified
url
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited