headers property
JSON
get
headers
Implementation
JSON get headers {
final JSON value = {};
if (cookie != null) {
value["Cookie"] = cookie;
}
if (bearer != null) {
value["Authorization"] = "Bearer $bearer";
}
value["Accept-Charset"] = "utf-8";
value["Content-Type"] = "application/json;odata=verbose";
return value;
}