put<T> method
PUT request
Implementation
Future<T> put<T>(
String path, {
dynamic data,
Map<String, dynamic>? queryParameters,
}) async {
try {
final response = await _dio.put<Map<String, dynamic>>(
path,
data: data,
queryParameters: queryParameters,
);
return _handleResponse<T>(response);
} on DioException catch (e) {
throw ApiException.from(e);
}
}