From 51c28c8e98fd26fbb19fc50fed3e743dc970ca02 Mon Sep 17 00:00:00 2001 From: Roshan pcy Date: Thu, 30 May 2024 08:56:09 +0530 Subject: [PATCH] added --- source/_posts/dart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_posts/dart.md b/source/_posts/dart.md index 7e52cb3..08ee5b2 100644 --- a/source/_posts/dart.md +++ b/source/_posts/dart.md @@ -276,7 +276,7 @@ Set names = {}; // This works, too. // a map is an object that associates keys and values var person = Map(); // To initialize the map, do this: -person['firstName'] = 'Nicola'; + person['lastName'] = 'Tesla'; print(person); //Print: {firstName: Nicola, lastName: Tesla}