DioClient class
Properties
-
hashCode
→ int
-
The hash code for this object.
read-onlyinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
get<T>(String path, {Object? body, Map<String, dynamic>? queryParameters, Options? options})
→ Future<T>
-
Performs a GET request to the provided API URL and returns the response.
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
post<T>(String path, {Object? body, Map<String, dynamic>? queryParameters, Options? options})
→ Future<T>
-
Performs a POST request to the provided API URL with the given
body
and returns the response.
override
-
toString()
→ String
-
A string representation of this object.
inherited