DEV Community

abhiram-ms
abhiram-ms

Posted on

Unhandled Exception: type 'Null' is not a subtype of type 'int' in type cast error when trying to call function with no int

Hello I was calling a startelection function from my flutter app on a button click and I got this error the startelection function connects my flutter app with my solidity smart contract and starts the election through infura I don't know why I am getting this error it was running…

Top comments (0)