RequestData<T> class

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
getter/setter pair
body Map<String, dynamic>?
getter/setter pair
contentType String
getter/setter pair
fromJson ↔ T Function(String)
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
getter/setter pair
postPrefs PostPrefs?
getter/setter pair
queryParams Map<String, String>?
getter/setter pair
route String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type RequestType?
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