Тёмный

Freezed ❄ - Data Class & Union in One Dart Package 

Reso Coder
Подписаться 112 тыс.
Просмотров 58 тыс.
50% 1

📗 Learn from the written tutorial 👇👇
resocoder.com/freezed-tutorial
📧 Get Flutter news 📰 and resources:
👉 flutter.education
👨‍💻 Do you write good code? Find out now!
resocoder.com/good-code-quiz
How would you like it if Dart had data classes and sealed classes as we know them from Kotlin? It would be perfect but while these features are being worked on, they're still in the distant future. Now we have the next best thing though - we're all about to get freezed with the new package by Rémi Rousselet, the creator of provider.
If you've been following Dart's algebraic data type scene for a while you might be thinking "We have sealed_unions, super_enum, sum_types... Why do we need yet another package?". (Yes, I did cover all of those packages with tutorials 😉) Similarly, if you are an avid follower of the data class scene, built_value, equatable and even certain VS Code extensions may come to mind. So, why again another package?
Go to my website for more information, code examples, and articles:
● resocoder.com
Follow me on social media:
● / resocoder
● / resocoder
● / resocoder

Опубликовано:

 

10 фев 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 110   
@Ch1ll3dkro3te
@Ch1ll3dkro3te 3 года назад
I don't know why, but your tutorials are the only ones that make sense to me! I had absolutely no motivation to learn all that stuff until I stumbled over your videos. Coming from Web, many packages and solutions seem to solve problems I don't know from typescript. Thank you so much! Keep up the good work! Perfectly organized information! 👌
@ResoCoder
@ResoCoder 4 года назад
This tutorial
@josephcobbinah5412
@josephcobbinah5412 3 года назад
This is so concise, clear, and convenient! Thanks, Reso Coder!!!! Love it
@arahussein3827
@arahussein3827 4 года назад
I love the way to tell us where to use it in real application.
@devorrahtester5439
@devorrahtester5439 3 года назад
ok I finally get unions and a useful way to use them and it is brilliant. TY for this tutorial!
@honzabittner1856
@honzabittner1856 4 года назад
Thanks for this fast clear summary. :-)
@RohitSharma-cw2ii
@RohitSharma-cw2ii 4 года назад
I came here after complete watching of 1 and in other half you recommend me to watch this ..now i am feeling sleepy and washed my face and again start watching ..great video matt love you
@afolayanademola461
@afolayanademola461 2 года назад
Thank you so much @Reso Coder
@joelcorbalan3810
@joelcorbalan3810 4 года назад
Excellent tutorials!
@dosenbiiir
@dosenbiiir 2 года назад
Freezed is so beautiful <3
@officialismailshah
@officialismailshah 2 года назад
best video about freeze package
@SEOTADEO
@SEOTADEO 2 года назад
I am convinced this is going to be useful
@samsurya283
@samsurya283 4 года назад
Ur doing an awesome work bro ..........loved ur voice nd ur way of teaching...❤️..............for me this is the best flutter channel ❤️🔥🔥
@rsobies
@rsobies 2 года назад
in my opinion, for data class it is better to use plugin "Dart Data Class", it just generates all methods and construcors (including json conversion) that freezed does, you only put fields inside a class, hit generate option and that's it, less boiler code to write yourself compering to freezed, the generated code is much more cleaner
@h3w45
@h3w45 4 года назад
Good job man.
@CarlosHernandez-dv1ib
@CarlosHernandez-dv1ib 4 года назад
thank you a lot!!!
@engineeringtechnology3113
@engineeringtechnology3113 4 года назад
You are Awesome
@khairulanas
@khairulanas 4 года назад
fire.... 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
@arnaudduquenoy2061
@arnaudduquenoy2061 3 года назад
Veryyyyyyy good but sealed union concept is still hard to get it :) i would need another in depth theoritical tutorial ☺️ .. any news if the dart team is about to offer native sealed unions ?
@adamkarafyllidis9264
@adamkarafyllidis9264 3 года назад
Nice tutorial as always and great package for missing Dart features! I am starting a project with Flutter / AngularDart and was wondering if i can use Freezed package in my shared code for AngularDart!
Далее
Этот Пёс Кое-Что Наделал 😳
00:31
Cool Tech You’ll LOVE!
21:41
Просмотров 61 тыс.
Learn Flutter Hooks and Maximize Your Code Reuse
10:36
Dio Connectivity Retry Interceptor - Flutter Tutorial
30:26
State Management Like A Pro - Flutter Riverpod
10:30
Просмотров 75 тыс.
Why all your classes should be sealed by default in C#
11:43
Converting JSON to Dart Classes
13:03
Просмотров 21 тыс.