I am new to dart and these are three situations which I face quite often in my code. Can anyone explain why those errors are not detected before even running the code? Is there