DART MAP


Map<String, int> phoneBook ={

  'kyle': 98765698754,

  'oper': 1234567998,

  'asdf': 98754336779, 

};


main(){

  phoneBook['anshu'] = 1234567890;  // to add new key and value

  print(phoneBook['kyle']);

}


Comments