There isn't a must make use of a return statement since the compiler can infer that you want to return the result of the expression I had exactly the same problem As well as in my scenario I was using bool in lieu of Boolean. When I modified it, it's https://luxuryprojectsgurugram.in/