NetworkResponse class
Constructors
- NetworkResponse.new({required bool status, required int responseCode, String? responseTitle, dynamic responseBody, bool isCancelable = true, bool callDefaults = true, bool handleErrors = true, bool handleSuccess = true, dynamic retryFunction(bool force, NetworkResponse res)?, dynamic responseDetails, String? extractedMessage})
Properties
- callDefaults ↔ bool
-
getter/setter pair
- extractedMessage ↔ String?
-
getter/setter pair
- handleErrors ↔ bool
-
getter/setter pair
- handleSuccess ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isCancelable ↔ bool
-
getter/setter pair
- responseBody ↔ dynamic
-
getter/setter pair
- responseCode ↔ int
-
getter/setter pair
- responseDetails ↔ dynamic
-
getter/setter pair
- responseTitle ↔ String?
-
getter/setter pair
- retryFunction ↔ dynamic Function(bool force, NetworkResponse res)?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ bool
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited