Maps in Dart

void main() {
  var student = {"id": "st01", "name": "name 1", "age": 20, "score": 7.8};

  print("id: ${student["id"]}");

  print("length: ${student.keys.length}");

  print("Student Info");
  for (var key in student.keys) {
    print("${key}: ${student[key]}");
  }

  print("Student Info");
  student.keys.forEach((k) {
    print("${k}: ${student[k]}");
  });
}
id: st01
length: 4   
Student Info
id: st01    
name: name 1
age: 20
score: 7.8
Student Info
id: st01
name: name 1
age: 20
score: 7.8