FittorResponse class
Constructors
Properties
- body → String
-
no setter
- bodyBytes → Uint8List
-
final
-
extra
→ Map<
String, dynamic> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → FittorHeaders
-
final
- isClientError → bool
-
no setter
- isRedirect → bool
-
no setter
- isServerError → bool
-
no setter
- isSuccessful → bool
-
no setter
-
redirectHistory
→ List<
String> -
final
- redirectUrl → String?
-
final
- requestDuration → Duration
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
final
- statusMessage → String
-
final
Methods
-
copyWith(
{int? statusCode, String? statusMessage, FittorHeaders? headers, Uint8List? bodyBytes, String? redirectUrl, List< String> ? redirectHistory, Duration? requestDuration, Map<String, dynamic> ? extra}) → FittorResponse -
json<
T> () → T? -
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