postHeaders static method
Implementation
static Map<String, String> postHeaders(
{required String token,
required String wid,
required String apiBaseUrl,
required String apiKey,
required String rootOrgId}) {
Map<String, String> headers = {
'Authorization': 'bearer $apiKey',
'x-authenticated-user-token': token,
'Content-Type': 'application/json',
'hostpath': apiBaseUrl,
'locale': 'en',
'org': 'dopt',
'rootOrg': 'igot',
'wid': wid,
'userId': wid,
'x-authenticated-user-orgid': rootOrgId
};
return headers;
}