DioClient class
Constructors
- DioClient.new()
-
factory
Properties
- dio → Dio
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
configure(
DioConfig config) → void -
delete(
String url, {dynamic data}) → Future< Response> -
download(
String url, String savePath, {ProgressCallback? onReceiveProgress}) → Future< void> -
get(
String url, {Map< String, dynamic> ? queryParams}) → Future<Response> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
String url, {dynamic data}) → Future< Response> -
put(
String url, {dynamic data}) → Future< Response> -
toString(
) → String -
A string representation of this object.
inherited
-
upload(
String url, FormData formData, {ProgressCallback? onSendProgress}) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited