Maps as Key-Value Stores
Create maps and read values by key.
What a Map Is
A Map stores data as key-value pairs. Each key acts like a label you use to look up its matching value. 🗺️
Creating a Map
Use curly braces with key colon value pairs. Dart reads the colons and knows this is a Map, not a set.
var ages = {'Ana': 30, 'Ben': 25};