ShararaHttp class
- Implementers
Constructors
-
ShararaHttp({Future<
T?> onResponseReady<T>(Response)? })
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onResponseReady
↔ Future<
T?> Function<T>(Response)? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get<
T> ({required String url, Map< String, dynamic> ? headers, Options? options, Object? data, dynamic onReceiveProgress(int, int)?, CancelToken? cancelToken, Map<String, dynamic> ? queryParameters, dynamic onError(dynamic)?, T? resultBuilder(Response)?, bool withLoading = false}) → Future<T?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post<
T> ({required String url, Map< String, dynamic> ? headers, Options? options, Object? data, dynamic onReceiveProgress(int, int)?, CancelToken? cancelToken, Map<String, dynamic> ? queryParameters, dynamic onError(dynamic)?, T? responseBuilder(Response)?, bool withLoading = false}) → Future<T?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
dataMapFilter
↔ Future<
Object> Function(Object)? -
getter/setter pair
-
defaultHeaders
↔ Map<
String, dynamic> -
getter/setter pair
-
onGetHeadersInvoked
↔ Map<
String, dynamic> ? Function(Map<String, dynamic> )? -
getter/setter pair
-
queryMapFilter
↔ Future<
Map< Function(Map<String, dynamic> >String, dynamic> )? -
getter/setter pair