headers method

DioUtils headers(
  1. Map<String, String> headers
)

Implementation

DioUtils headers(Map<String, String> headers) {
  _headerMap ??= <String, String>{};
  _headerMap!.addAll(headers);
  return this;
}