Records & Patterns - Get started with the newest addition in Dart 3.0

preview_player
Показать описание
Today we want to take a look into #Records & #Patterns the newest addition that has been introduced with #Dart 3.0. We will take a look what records are and how they work. After that we will have a deep dive into different options of pattern matching and how you can make the most out of them!

Timestamps
00:00 Welcome to Flutter Explained
00:11 Deep Dive into Records
01:53 Pattern Matching with Records - Deconstruction
06:53 Swap pattern
07:42 What to do with unused deconstructed variables?
08:00 Patterns are not limited to Records
09:33 Important note to Package Maintainers
10:32 Outro

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------

-----------------------------------------------------------------------------------

Other Videos:

-----------------------------------------------------------------------------------

Additional Tags: Flutter, upgrade, video, tutorial

Thanks For Watching!

#FlutterExplained
Рекомендации по теме
Комментарии
Автор

developing my app while seeing this video just for information and fun to learn

but this made my work easier
I was just creating a model for returing many datatype from one function but by records it helps to work without creating extra model
thanks

nightfury