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

Опубликовано: 05 Ноябрь 2024
на канале: Vandad Nahavandipoor
6,094
173

This video is part of the Dart Crash Course playlist on YouTube. See the entire playlist here:    • Dart Crash Course  

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:   / discord  

The GitHub repository for this course can be found here: https://github.com/vandadnp/youtube-c...

Join my YouTube channel to support me:    / vandadnp  

Also please follow me on Twitter and LinkedIn to stay up to date:
  / vandadnp  
  / vandadnp