FittorRequest class

Constructors

FittorRequest({required String url, required HttpMethod method, FittorHeaders? headers, dynamic body, Map<String, String>? queryParameters, Duration? timeout, bool followRedirects = true, int maxRedirects = 5, Map<String, dynamic>? extra})

Properties

body → dynamic
final
extra → Map<String, dynamic>
final
followRedirects → bool
final
hashCode → int
The hash code for this object.
no setterinherited
headers → FittorHeaders
final
maxRedirects → int
final
method → HttpMethod
final
methodName → String
no setter
queryParameters → Map<String, String>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration?
final
uri → Uri
no setter
url → String
final

Methods

copyWith({String? url, HttpMethod? method, FittorHeaders? headers, dynamic body, Map<String, String>? queryParameters, Duration? timeout, bool? followRedirects, int? maxRedirects, Map<String, dynamic>? extra}) → FittorRequest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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