Unlock the Magic of Pattern Matching in Dart 3.0So in the last couple of articles in this series, we got a basic introduction to Records, which is a new built-in collection type coming in Dart 3.0, and how they make developers' life easy with their various applications like facilitating multiple r...Mar 3, 2023 · 5 min readmokshmahajan.hashnode.dev
Streamlining Flutter Code with Records and Control FlowIn the last article, we had a basic introduction to a new built-in collection type coming out in the Dart 3.0 release i.e. Records. If you've not gone through that article, I'll recommend giving it a quick read to have a quick refresher. In this arti...Feb 24, 2023 · 2 min readmokshmahajan.hashnode.dev
Simplifying Multiple Returns in Dart 3.0 with RecordsSometimes we run into a case when a function logically needs to return multiple values. Some examples are returning coordinates of a point, returning some statistical data, returning error information like the error code and the message, etc. The tra...Feb 18, 2023 · 4 min readmokshmahajan.hashnode.dev