ValuedHttpClient<T> class Null safety

Implementers

Constructors

ValuedHttpClient({HttpLogger logger = const EmptyHttpLogger()})

Properties

hashCode int
The hash code for this object.
read-onlyinherited
logger HttpLogger
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

alter(T input) → T
convert(Response response) → T
delete(String url, {String? host, Map<String, Object>? path, Map<String, Object>? query, Map<String, String>? headers}) Future<HttpResult<T>>
get(String url, {String? host, Map<String, Object>? path, Map<String, Object>? query, Map<String, String>? headers}) Future<HttpResult<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
patch(String url, {String? host, Map<String, Object>? path, Map<String, Object>? query, Map<String, String>? headers, dynamic body, Encoding? encoding}) Future<HttpResult<T>>
post(String url, {String? host, Map<String, Object>? path, Map<String, Object>? query, Map<String, String>? headers, dynamic body, Encoding? encoding}) Future<HttpResult<T>>
put(String url, {String? host, Map<String, Object>? path, Map<String, Object>? query, Map<String, String>? headers, dynamic body, Encoding? encoding}) Future<HttpResult<T>>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited