Unpacking data the easy way with pattern matching
Updated Article
Updated July 4, 2023, for Dart 3.
My original article described the complexities of unpacking data from a JSON object. If you scroll down, you can still read that article. However, pattern matching in Dart 3 has greatly simplified the process.