This is the return type from rest end point:
ResponseEntity<Map<String, List<Object>>>
How do I receive this response from Angular side?
I tried this approach:
let requiredData= new Map<String, Array<Object>>();
 this.service.getMap().subscribe((mapData) => {
      requiredData= mapData;
}
I'm able to log this in the console properly. But the issue is whenever I try to fetch items from the map or fetch keys as below, it always returns undefined
requiredData.keys
Anybody know what is the issue here?
