String getHeadersBykey(String name) { String target = ''; request.headers.forEach((key, value) { if (name == key) { target = value.toString(); } }); return target; }