getSessionData method
Implementation
Future<Map<String, String>> getSessionData(Map<String, String> headers,
{bool passRawData = false, bool isMultiPart = false}) async {
if (allHeaders != null && headers.isNotEmpty) {
allHeaders!.addAll(headers);
} else if (allHeaders == null && headers.isNotEmpty) {
allHeaders = {};
allHeaders!.addAll(headers);
}
return allHeaders ?? {};
}