ReadApiRequest class

Subtype of ApiRequest for read, or GET requests. Along with having that HTTP verb, these requests also have querystrings and not request bodies.

Inheritance
Implementers

Constructors

ReadApiRequest({required ApiUrl url, Headers headers = const {}, Object? user, Params? params})
Subtype of ApiRequest for read, or GET requests. Along with having that HTTP verb, these requests also have querystrings and not request bodies.
const

Properties

contentType String
Default content type header.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
headers Headers
Finalized headers, combining starter headers with the builder method.
no setterinherited
params Params?
GET/querystring-style payload of this request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url ApiUrl
Destination of this request.
finalinherited
user Object?
Whatever data is needed to authenticate this request.
finalinherited

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