MyResponse<Body> class
- Annotations
-
- @immutable
Constructors
- MyResponse(Response base, Body? body)
-
const
Properties
- base → Response
-
final
- body → Body?
-
final
-
bodyBytes
→ List<
int> -
no setter
-
extra
→ Map<
String, dynamic> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- headers → Headers
-
no setter
- isSuccessful → bool
-
no setter
- request → RequestOptions
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statusCode → int
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replace<
BodyType> ({Response? base, BodyType? body}) → MyResponse -
replaceWithNull<
Body> ({Response? base, required Body body}) → MyResponse< Body> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited