© Sanjib Sinha 2020
S. SinhaQuick Start Guide to Dart Programminghttps://doi.org/10.1007/978-1-4842-5562-9_7

7. Data Structures and Collections

Sanjib Sinha1 
(1)
Howrah, West Bengal, India
 
Understanding the concepts of data structures and collections , as a whole, plays a crucial role in your future Dart programming. You will learn in a minute that there are four types of data structures in Dart.
  • List

  • Set

  • Map

  • Queue

In my opinion, Lists and Maps will cover almost everything, so you hardly need the other two types in your programming life, except on a few occasions. However, my suggestion is to not ignore learning about Set and Queue; on a few occasions, they have incalculable worth. We will discuss them in this chapter in detail.

Figure 7-1 shows what ...

Get Quick Start Guide to Dart Programming: Create High-Performance Applications for the Web and Mobile 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.