Programming in Dart: Fundamentals

Apr 26 2022 · Dart 2.15, DartPad, DartPad

Part 2: Introducing Collections & Null Safety

16. Conclusion

Episode complete

About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 15. Combine Lists

Get immediate access to this and 4,000+ other videos and books.

Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and 4,000+ professional videos in a single subscription, it's simply the best investment you can make in your development career.

Learn more Already a subscriber? Sign in.

Transcript: 16. Conclusion

Congrats on making through this course. It’s hard to believe it is over, but as you can tell, we are just getting started. First, let’s review what we just covered. First, you were introduced to one of the most important collection classes - the list. You’ll be using this collection a lot, but this is only the beginning. There are lots of different data structures that you can use to make your life. But we’re getting ahead of ourself here. Let’s review what we covered.

You learned about the list and how you can use it to hold various types of data. Remember, only use a list to hold one type. As a rule, don’t mix and match your types. You’re liable to operate on an incorrect type and crash your app.

Once you created a list, you learned how to do various operations with it such as add or remove items and even create sub-lists from it. After a challenge, you were introduced to null safety.

Working with null values is a huge part of programming and Dart makes us think about it up front which is a good thing. Null is built into the very language and you were introduced to some operators on working with null values. Then you created a conditional list after which,

we you learned how to combine lists.

Then you met the spread operator and its brother, then null spread operator.

So we hit the ground running in this this course. But as you remember, our journey to Dart understanding is just starting. We made it through the valley of Collections, in in the that’s not it with your Dart learning journey. Rather, we have lots more to cover and we do that in the follow up course, Programming in Dart: Control Flow & Collections. In it, you’ll learn about loops and switch statements while you’ll continue to explore null safe operators. You’ll also be introduced to several more collections offered by dart such as the Set and the Map.

If you are interested in reading, check out our tutorial called Dart Basics that will walk you through a lot of what we covered here and more.

Also, see the article called Non-Nullable Dart: Understanding Null Safety to get a deeper understanding of null safety in general. Thanks for watching this introduction to Dart. I look forward to seeing you in the next course. Take care!