Closed 1Hanif1 closed 2 years ago
"Member "taskCount" not found or not visible after argument-dependent lookup in contract TodoList" again why is it showing this?
Turns out I am stupid smh
uint256 public taskCount = 0;
forgot that the function to view a field value is provided by solidity ONLY if the field is public 🤦♂️
I am able to access the tasks mapping but this is throwing an error and i can't figure out why