HttpService class
- Inheritance
-
- Object
- HttpServiceBase
- HttpService
Constructors
- HttpService({required Client http})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- http → Client
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
checkIfIsUrlEncoded(
Map< String, String> headers) → bool -
checkStatusCode(
Response result, String url) → dynamic -
get(
{required String url, Map< String, String> ? headers}) → Future<Map< String, dynamic> > -
override
-
getEncrypted(
{required String url, Map< String, String> ? headers}) → Future<Map< String, dynamic> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
{required String url, required Entity data, Map< String, String> ? headers}) → Future<Map< String, dynamic> > -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited