-
i wish Dart did the Typescript thing of inferring that a variable isn't null if you just checked for that
-
like, if (val != null) { functionWithNonNullArg(val); } should be fine without having to put the little exclamation mark in there to reassure the compiler