Http4 class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(String url, {Map<String, dynamic> body = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy})
→ Future<Http4Response>
-
override
-
get(String url, {Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy})
→ Future<Http4Response>
-
override
-
multipart(String url, {required Http4Method method, Map<String, String> fields = const {}, List<MultipartFile> files = const [], List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy})
→ Future<Http4Response>
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(String url, {Map<String, dynamic> body = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy})
→ Future<Http4Response>
-
override
-
post(String url, {Map<String, dynamic> body = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy})
→ Future<Http4Response>
-
override
-
put(String url, {Map<String, dynamic> body = const {}, Map<String, dynamic> params = const {}, List<InterceptorContract> interceptors = const [], RetryPolicy? retryPolicy})
→ Future<Http4Response>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited