toWebHeaders function
Spry headers to web headers object.
Implementation
web.Headers toWebHeaders(Headers headers) {
final webHeaders = web.Headers();
for (final (name, value) in headers) {
webHeaders.append(name, value);
}
return webHeaders;
}