addMessageHeaders method
Concatenate message headers
Implementation
void addMessageHeaders(MessageHeaders? newHeaders) {
if (newHeaders != null && !newHeaders.isEmpty) {
for (var name in newHeaders.names) {
setHeaderValue(name, newHeaders.getHeaderValue(name)!);
}
}
}