Home > OS >  How to solve null is not subtype of bool?
How to solve null is not subtype of bool?

Time:06-20

enter image description here

Getting error while debugging that that null is not subtype of bool I not getting it how to do

CodePudding user response:

Do Change in Your Code

Params? query= Params();

CodePudding user response:

Because you are sending null to function that is not null able. for tseting print EndPoints.checkList and query in terminal before function calling.

  • Related