LaravelHttp class
- Inheritance
-
- Object
- ShararaHttp
- LaravelHttp
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onLaravelResponse
↔ Future<
void> Function(LaravelResponse)? -
getter/setter pair
-
onResponseReady
↔ Future<
T?> Function<T>(Response)? -
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get<
T> ({required String url, Map< String, String> ? 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?> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post<
T> ({required String url, Map< String, String> ? 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?> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → LaravelHttp
-
final