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.

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

Congrats on making it through this course. It's hard to believe that it's over, but as you can tell, we are just getting started. 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 there are lots of other different data structures that you'll also be using in your programs. 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 data type and crash your program. Once you created a list, you learned how to do various operations with it, such as add or remove items and even create sublists 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 you learned how to combine lists. Then you met the spread operator and its brother, the null spread operator. So we hit the ground running in this course, but as you remember, our journey to Dart understanding is just starting. We made it across the plains of Dart fundamentals and just crossed the valley of collections. We have lots more ground to cover, and we'll do that in the follow up course, "Programming in Dart: Control Flow and 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.