11. Dart - Maps

 Maps are like structs.


Creating a map:

Map amap = {

"STRING":"HELLO",

"string2":"WORLD",

"age":25,

};


Calling a property of a map:

print(amap["STRING"]);

// will print "HELLO"

Comments

Popular posts from this blog

2. FreeCodeCamp - Dynamic Programming - Learn to Solve Algorithmic Problems & Coding Challenges

20. Data Analytics - Analyze Data to Answer Questions - Week 1

3. Algorithms - Selection Sort