HttpService<GetterAdapter extends HttpAdapterContract, PostAdapter extends HttpAdapterContract, DestroyAdapter extends HttpAdapterContract> class
- Implementers
Constructors
- HttpService(String baseUrl)
Properties
Methods
-
defineHeader(
{required String header, required String value}) → void -
destroy(
{required String url}) → DestroyAdapter -
get(
{required String url}) → GetterAdapter -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(
{required String url}) → PostAdapter -
post(
{required String url}) → PostAdapter -
put(
{required String url}) → PostAdapter -
removeHeader(
String header) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited