headers method

Map<String, String>? headers()

Implementation

Map<String, String>? headers() {
  Map<String, String> headers = new Map();
  if (defaultHeaders != null) {
    headers.addAll(defaultHeaders!);
  }
  if (customHeaders != null) {
    headers.addAll(customHeaders!);
  }
  return headers;
}