Learn how to write Firestore Flutter code in a functional programming style, using features from the recent Dart 3 release. We'll demonstrate how to refactor verbose structures common to Firebase Flutter code, like JSON validation, class creation for groups of like values, and type testing objects using pattern matching, object switching, and exhaustiveness checking.