RequestData<T> class Null safety

Used in requests.

Constructors

RequestData({required T fromJson(String), String contentType = "application/json", String? route, String apiUriProtocol = "https://", Map<String, dynamic>? body, PostPrefs? postPrefs, Map<String, String>? headers, Map<String, String>? queryParams, RequestType? type})

Properties

apiUriProtocol String
read / write
body Map<String, dynamic>?
read / write
contentType String
read / write
fromJson ↔ T Function(String)
read / write
hashCode int
The hash code for this object.
read-onlyinherited
headers Map<String, String>?
read / write
postPrefs PostPrefs?
read / write
queryParams Map<String, String>?
read / write
route String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type RequestType?
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited