Flutter Records and Patterns Example

Patterns - https://github.com/dart-lang/language/blob/main/accepted/future-releases/0546-patterns/feature-specification.md

Records - https://github.com/dart-lang/language/blob/main/accepted/future-releases/records/records-feature-specification.md

Enhanced Switch and Case (Exhaustiveness Checking) - https://github.com/dart-lang/language/blob/main/accepted/future-releases/0546-patterns/exhaustiveness.md

Sealed Classes - https://github.com/dart-lang/language/blob/main/accepted/future-releases/sealed-types/feature-specification.md

Simulates json data to show how this topics above work in a simple way