HttpService<GetterAdapter extends HttpAdapterContract, PostAdapter extends HttpAdapterContract, DestroyAdapter extends HttpAdapterContract> class

Implementers

Constructors

HttpService(String baseUrl)

Properties

baseUrl String
getter/setter pair
container ↔ Ioc
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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