getHeaders static method
Implementation
static Map<String, String> getHeaders(
{required String apiKey,required String token,required String wid,required String rootOrgId}) {
// developer.log(token);
Map<String, String> headers = {
'Accept': 'application/json',
'Content-Type': 'application/json; charset=utf-8',
'Authorization': 'bearer $apiKey',
'x-authenticated-user-token': token,
'x-authenticated-userid': wid,
'rootorg': 'igot',
'userid': wid,
'x-authenticated-user-orgid': rootOrgId
};
return headers;
}