handlePostRequest method
Performs a POST request to the specified path
with the given data
,
and optional headers
.
Implementation
@override
Future<Response> handlePostRequest(
String path,
dynamic data, {
Map<String, String>? headers,
}) async {
return await _dio.post(
path,
data: data,
options: await getOptionWithToken(headers: headers),
);
}