CHAPTER 6

image

Data Structures

Data structures are a means of organizing information for storage and retrieval. This chapter’s title is a bit of a misnomer, since it’s not really about the concept of data structures in general (or how they work), but, rather, three specific data structures built into Dart. Dart’s Lists and Maps will likely be sufficient for 95% of your future data structure needs. Dart provides specialized syntax for working with each. Sets are good for data in which all the elements need to be unique. Learning to use these data structures effectively will be key to your success with the Dart language.

Lists

Lists are useful for storing ...

Get Dart for Absolute Beginners now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.