headers method

Method headers(
  1. Map<String, String> values
)

Add headers

Implementation

Method headers(Map<String, String> values) {
  getHeaders.addAll(values.map((k, v) => MapEntry(k.toLowerCase(), v)));
  return this;
}