Extensions in Dart - Learn How to Extend the Functionality of New and Existing Types with Extensions

Published: 20 December 2022
on channel: Vandad Nahavandipoor
4,232
138

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 creating extensions that can help us write better code, on existing and new data types. This chapter blends in the concept of extensions together with generics so I highly recommend that you watch the previous chapters first, specifically the chapters about generics and collections.

Timestamps:
00:00 - Intro
02:23 - Extending String
05:45 - Sum of Iterable
11:00 - Range on int
17:08 - Finding Duplicate Values in Iterables
20:05 - Finding and Mapping Keys and Values on Map
29:47 - Extending Enums
31:59 - Extending Functions
35:17 - Extension Overrides

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 Extensions in Dart - Learn How to Extend the Functionality of New and Existing Types with Extensions online without registration, duration hours minute second in high quality. This video was added by user Vandad Nahavandipoor 20 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4,232 once and liked it 138 people.