withHeaders method

RequestAction<dynamic, ApiRequest> withHeaders(
  1. Map<String, dynamic> headers
)

Implementation

RequestAction withHeaders(Map<String, dynamic> headers) {
  _headers.addAll(Map.of(headers));
  return this;
}