Dart编程实例 - Map addAll() 方法
void main() {
Map m = {'name':'Tom','Id':'E1001'};
print('Map :${m}');
m.addAll({'dept':'HR','email':'tom@xyz.com'});
print('Map after adding entries :${m}');
}
void main() {
Map m = {'name':'Tom','Id':'E1001'};
print('Map :${m}');
m.addAll({'dept':'HR','email':'tom@xyz.com'});
print('Map after adding entries :${m}');
}