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}