Dart: Collection Maps

void main() { 
  var details = new Map(); 
  details['Usrname']='admin'; 
  details['Password']='admin@123a'; 
  print(details); 
}     

=> output

{Usrname: admin, Password: admin@123a} 

Leave a Reply

Your email address will not be published. Required fields are marked *