We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4137ba commit b7f962aCopy full SHA for b7f962a
lib/src/api_service_impl.dart
@@ -46,10 +46,12 @@ class ApiServiceImpl implements ApiService {
46
Future<Response<T>> get<T>({
47
String? endpoint,
48
String? url,
49
+ String? body,
50
ApiOptions? options,
51
}) async {
52
return _dio!.get<T>(checkIfNotEmpty(url) ? '$url' : '$baseUrl$endpoint',
53
cancelToken: options?.cancelToken,
54
+ data: body,
55
options: Options(
56
headers: _formatHeaders(options),
57
receiveTimeout: options?.receiveTimeout,
lib/src/base/api_service.dart
@@ -9,6 +9,7 @@ abstract class ApiService {
9
10
11
12
13
14
});
15
0 commit comments