I have problems with Dart null safety.
Even when I explicitly check for nulls, it still complains
The exclamation mark is solving that
but it's pretty ugly and cumbersome.
Is there a way to make it smarter and nicer? Like e.g. header?.let{ it.toUpperCase() }
in Kotlin?