Programming in Dart: Control Flow & Collections

May 3 2022 · Dart 2.15, DartPad, DartPad

Part 2: More Collections

11. Introduction

Episode complete

Play next episode

Next
About this episode
Leave a rating/review
See forum comments
Cinema mode Mark complete Download course materials
Previous episode: 10. Conclusion Next episode: 12. Create & Populate Maps

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: 11. Introduction

At this point, you have all the tools necessary to control your program flow.

You’ve made another step closer to understanding Dart. Now we move back to collections.

Collections are a critical part of learning any programming language. Dart is no exception. You’ve seen how how you can use list to store well - a list of information. And that’s important for instance if you were creating a todo list app or a grocery list app. But that’s only one type of collection.

In this part, you’ll be introduced to two other collections that form the foundation of what you’ll be using in your programs. Mind you, there are lots of other collection classes which you should definitely explore once you have a firm understanding of the language.

We start off this part with an introduction to the Map. You’ll learn how to create them and add items to it.

Then, you’ll learn how to retrieve items from map and how to work with them. Maps are somewhat different List so they are going to seem a little strange, but they’ll make sense soon enough.

Once you have a firm understanding a maps, you’ll dive into the world of sets. Sets are like lists but provide a lot of other features.

Then you’ll learn the various operations that you can use on sets.

And that will be enough to get the ball rolling not to mention several challenges mixed in with the bunch. So let’s get started with an introduction to maps.