HttppRequest class
Constructors
- HttppRequest({required HttppVerb verb, required Uri uri, HttppHeaders? headers, HttppBody? body, void onSuccess(HttppResponse)?, void onResult(HttppResponse)?, void onError(Object)?, Duration? timeout})
Properties
- body ↔ HttppBody?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- headers ↔ HttppHeaders?
-
getter/setter pair
- id → String
-
no setter
- isCanceled → bool
-
no setter
- onError ↔ (void Function(Object)?)
-
getter/setter pair
- onResult ↔ (void Function(HttppResponse)?)
-
getter/setter pair
- onSuccess ↔ (void Function(HttppResponse)?)
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration?
-
no setter
- uri → Uri
-
no setter
- verb → HttppVerb
-
no setter
Methods
-
cancel(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toRequest(
) → Request -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override