handlePostRequestWithoutToken method

  1. @override
Future<Response> handlePostRequestWithoutToken(
  1. String path, [
  2. Map<String, dynamic>? data
])
override

Performs a POST request to the specified path without including any authentication token. Accepts an optional data parameter.

Implementation

@override
Future<Response> handlePostRequestWithoutToken(String path,
    [Map<String, dynamic>? data]) async {
  return await _dio.post(
    path,
    data: data,
    options: getOptionWithoutToken(),
  );
}