RequestBean class final

Constructors

RequestBean({int? id, int? connectTimeout, int? receiveTimeout, String? url, String? method, String? contentType, bool? followRedirects, DateTime? requestTime, Map<String, dynamic>? headers, Map<String, dynamic>? params, dynamic body})
RequestBean.fromJson(Map<String, dynamic> json)
factory

Properties

body ↔ dynamic
getter/setter pair
connectTimeout int?
getter/setter pair
contentType String?
getter/setter pair
followRedirects bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
getter/setter pair
id int?
getter/setter pair
method String?
getter/setter pair
params Map<String, dynamic>?
getter/setter pair
receiveTimeout int?
getter/setter pair
requestTime DateTime?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String?
getter/setter pair

Methods

adaptForIsolatePrinting() → void
Replase body of request if it is FormData with map. When Files objects are passed to Isolates it may cause crashes running those functions. Filse should not be passed to Isolates.
getFormData() Map<String, List<Map<String, String>>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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