Exhaustive switch case statements consisting of return statements do not satisfy function return requirements · Issue #33158 · dart-lang/sdk · GitHub
![Sanjay Vyas on Twitter: "Kill Switch! In most cases switch-case (or if-else-if ladders) create brittle code which require modification when cases change. There are at least 6 ways to Kill Switch and Sanjay Vyas on Twitter: "Kill Switch! In most cases switch-case (or if-else-if ladders) create brittle code which require modification when cases change. There are at least 6 ways to Kill Switch and](https://pbs.twimg.com/media/FHbnwe_UYA80w9N.png)
Sanjay Vyas on Twitter: "Kill Switch! In most cases switch-case (or if-else-if ladders) create brittle code which require modification when cases change. There are at least 6 ways to Kill Switch and
![flutter analyze does not detect returns from switch statement with all enum cases · Issue #37498 · dart-lang/sdk · GitHub flutter analyze does not detect returns from switch statement with all enum cases · Issue #37498 · dart-lang/sdk · GitHub](https://user-images.githubusercontent.com/71999/61088494-ca17c980-a47b-11e9-8c2e-f4b8fe5415d7.png)