authHeaders function
Implementation
Map<String, String> authHeaders(String token, String? uniqueId) {
return {
...invalidateCacheHeaders,
'Authorization': 'Bearer $token',
'X-PI-Unique-Id': uniqueId ?? '',
'X-PI-App': PerceptApp.name.asString,
'X-PI-App-Version': PerceptApp.version.asString,
'X-PI-SDK': PerceptSDK.type.asString,
'X-PI-SDK-Version': PerceptSDK.version.asString,
};
}