ApiRequestAction<T> class abstract

Inheritance

Constructors

ApiRequestAction()

Properties

authRequired bool
no setterinherited
contentDataType ContentDataType?
no setterinherited
disableGlobalOnError bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
method RequestMethod
no setterinherited
onDone Function
getter/setter pairinherited
onError ErrorHandler
getter/setter pairinherited
onInit Function
getter/setter pairinherited
onStart Function
getter/setter pairinherited
onSuccess SuccessHandler<T>
getter/setter pairinherited
path String
no setterinherited
performanceReport PerformanceReport?
no setterinherited
responseBuilder ResponseBuilder<T>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<T?>
no setterinherited
toMap Map<String, dynamic>
no setterinherited

Methods

delete() Future<Response?>
inherited
dispose() → void
inherited
execute() Future<Either<ActionRequestError?, T?>?>
inherited
get() Future<Response?>
inherited
listen({Function? onStart, Function? onDone, SuccessHandler<T>? onSuccess, ErrorHandler? onError}) RequestAction<dynamic, ApiRequest>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onQueue() → void
inherited
post() Future<Response?>
inherited
put() Future<Response?>
inherited
subscribe({dynamic onSuccess(T? response)?, dynamic onDone()?, dynamic onError(Object error)?}) RequestAction<dynamic, ApiRequest>
inherited
toString() String
A string representation of this object.
inherited
where(String key, dynamic value) RequestAction<dynamic, ApiRequest>
inherited
whereMap(Map<String, dynamic> map) RequestAction<dynamic, ApiRequest>
inherited
whereMapQuery(Map<String, dynamic> map) RequestAction<dynamic, ApiRequest>
inherited
whereQuery(String key, dynamic value) RequestAction<dynamic, ApiRequest>
inherited
withHeader(String key, dynamic value) RequestAction<dynamic, ApiRequest>
inherited
withHeaders(Map<String, dynamic> headers) RequestAction<dynamic, ApiRequest>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited