A collection is an object, which contains or holds a group of elements by specifying the type of the data. In dart, lists are widely used in most cases. The most commonly used collections in dart are
A List is used to reading the elements based on its index.
SET it contains single occurring elements and it is similar to a list.
Map reading of elements can be handled by using key
Iterables are a kind of collection.
Iterable is an abstract class and a part of a collection of elements. An iterable can be accessed sequentially. As Iterable is an abstract class that can't be instantiated directly.