post<T> abstract method

Future<HttpResponse<T>> post<T>(
  1. String endpoint, {
  2. bool authenticate = false,
  3. Object? body,
  4. Map<String, String>? headers,
  5. Map<String, dynamic>? queryParameters,
  6. String? replaceBaseUrl,
  7. String? segment,
  8. bool? showLogs,
  9. String? step,
})

Method that represents the HTTP's POST method.

Implementation

Future<HttpResponse<T>> post<T>(
  String endpoint, {
  bool authenticate = false,
  Object? body,
  Map<String, String>? headers,
  Map<String, dynamic>? queryParameters,
  String? replaceBaseUrl,
  String? segment,
  bool? showLogs,
  String? step,
});