Maps
Maps are defined using curly braces {} and hold key-value pairs. Keys must be strings.
Map Property Access
Access elements in a Map using bracket notation []:
Note: Dot notation (user.name) is strictly reserved for Structs and Classes. It is not supported for Maps.
Map Destructuring
You can extract values from a map directly into variables by matching the key names: