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 writing highly reusable code using generics in Dart.
Timestamps:
00:00:00 - Intro
00:01:07 - Generic Integer or Double
00:14:49 - Type Matching
00:19:10 - Constrained Generic Type Definitions
00:26:54 - Unconstrained Generic Type Definitions
00:30:53 - Specializing Generic Type Definitions
00:33:03 - Generic Mixins and Specialized Mixin Type Definitions
00:36:22 - Generic Classes with Generic Extensions
00:43:04 - Generic Sorting with Comparable
00:47:24 - Handling Lack of Common Ancestors
00:54:28 - Generic Extension on Any Data Type
01:01:21 - Generic Function Pointers
01:05:04 - Generic Class Properties
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
Watch video Generics in Dart - Learn How to Write Highly Reusable Code with Generics in Dart online without registration, duration hours minute second in high quality. This video was added by user Vandad Nahavandipoor 21 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 8,220 once and liked it 264 people.