UrlRequest class

This class represents all the fields that can be required by any type of network call, in such a way that it encapsulates the implementation for the rest of the projects.

Implementers

Constructors

UrlRequest(Uri url, {Map<String, String>? headers, Object? body, Encoding? encoding})
UrlRequest.fromStringUrl(String uriString, {Map<String, String>? headers, Object? body, Encoding? encoding})

Properties

body Object?
getter/setter pair
encoding Encoding?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url Uri
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