RequestAction<T, R extends ApiRequest> class
abstract
- Implementers
Constructors
- RequestAction(R? _request)
Properties
- authRequired → bool
-
no setter
- contentDataType → ContentDataType?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → RequestMethod
-
no setter
- onError ↔ ErrorHandler
-
getter/setter pair
- onInit ↔ Function
-
getter/setter pair
- onStart ↔ Function
-
getter/setter pair
-
onSuccess
↔ SuccessHandler<
T> -
getter/setter pair
- path → String
-
no setter
- performanceReport → PerformanceReport?
-
no setter
-
responseBuilder
→ ResponseBuilder<
T> -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stream
→ Stream<
T?> -
no setter
-
toMap
→ Map<
String, dynamic> -
no setter
Methods
-
delete(
) → Future -
dispose(
) → void -
execute(
) → Future< T?> -
get(
) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onQueue(
) → void -
post(
) → Future -
put(
) → Future -
subscribe(
{dynamic onSuccess(T? response)?, dynamic onDone()?, dynamic onError(Object error)?}) → RequestAction< dynamic, ApiRequest> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited