Mixins in Dart - Learn How Mixins and Dart Mirrors (Reflection) Can Help You Write Reusable Code

Mixins in Dart - Learn How Mixins and Dart Mirrors (Reflection) Can Help You Write Reusable Code

6.720 Lượt nghe
Mixins in Dart - Learn How Mixins and Dart Mirrors (Reflection) Can Help You Write Reusable Code
This video is part of the Dart Crash Course playlist on YouTube. See the entire playlist here: https://www.youtube.com/playlist?list=PL6yRaaP0WPkVLSOchfoIA0ZXySz4eSYV2 Welcome to Dart Crash Course. Dart is a beautiful and modern programming language that can be used both for frontend and backend applications. In this course, we will focus on Dart as a programming language without blending in any other frameworks such as Flutter. In this video we will have a look at what mixins are and how they contribute to writing more reusable code. We will also talk about Dart reflections using mixins. Timestamps: 00:00 - Intro 01:43 - Simple Mixins 11:41 - Mixins and Function Parameters 18:17 - Mixins with Logic 21:54 - Limiting Mixins to Data Types 27:15 - Mixins with hashCode Implementation 33:14 - Mixins and Reflection 46:54 - Mixins with Equality Implementation Join the discord group if you have any questions: https://discord.gg/evXCsqxQnC The GitHub repository for this course can be found here: https://github.com/vandadnp/youtube-course-dart-crash-course-public Join my YouTube channel to support me: https://youtube.com/c/vandadnp/join Also please follow me on Twitter and LinkedIn to stay up to date: https://twitter.com/vandadnp https://linkedin.com/in/vandadnp