» Flutter courses, writeups, and source code on Launch Club 🧠
https://drp.li/Iq9Bk
https://www.launchclub.io/blog/flutte...
» Flutter Job Board 👋
https://drp.li/T9bLq
Code generation will take your Flutter app development process to the next level. In this video, you'll learn how to use Freezed to generate data classes and unions to greatly reduce the amount of boilerplate code in your apps.
» Resources 📂
Freezed Package: https://pub.dev/packages/freezed
Equatable: https://pub.dev/packages/equatable
Dart Data Class Generator: https://marketplace.visualstudio.com/...
» Remember to like, subscribe, comment, and share this video!🚨
https://www.youtube.com/MarcusNg?sub_...
» Socials📱
GitHub: https://github.com/MarcusNg
Twitter: / marcuslng
» Timestamps 🕒
0:00 Flutter Freezed Code Generation Intro
0:24 Normal User Model
0:39 Equatable
0:51 copyWith
1:14 toJson & fromJson
1:24 VSCode Extension - Dart Data Class Generator
1:58 Freezed Package
3:06 Generate Code
3:26 analysis_options.yaml - Exclude .g.dart and .freezed.dart files
3:34 Freezed toJson & fromJson
4:07 Freezed Custom Methods
4:34 Data Model Relationships
5:10 Serialize Nested Lists of Freezed Objects
5:26 Freezed Unions/Sealed Classes
5:30 Flutter Bloc
6:18 Freezed & Bloc
7:13 Pattern Matching with .when
7:32 Thanks for watching 🙏
» Affiliates 🔥
3D Mockups - https://LaunchClub.io/rotato
» Music 🎶
[NCS ( / nocopyrightsounds )]
Sky High - Elektronomia ( / elektronomia )
Joakim Karud ( / joakimkarud )
#Flutter #Freezed #CodeGeneration
Смотрите видео Flutter Freezed Code Generation - Data Classes, Unions/Sealed Classes, & Bloc Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Marcus Ng 22 Октябрь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 41,576 раз и оно понравилось 1 тысяч людям.