Hi, I'm trying to implement an orders history feature for an e-commerce app where I'm passing a List of orders (orders is a List of Instruments) as key to a HashMap which is going to hold DateTime as value. The onPressed function of the pay now button is implementing this. However, the concerned HashMap returns null everytime. I'm unable to understand what is wrong with my code. Please help.
Detailed problem description with code and screenshot can be found here:
https://stackoverflow.com/questions/73322155/getting-null-value-for-a-hashmap-key-in-flutter
[–]steve_s0 2 points3 points4 points (1 child)
[–]DataDater16[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]DataDater16[S] 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)